projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4dac6d
)
Revert 6654719 "[CMake] Fix logic error: NOT LIBCLANG_BUILD_STATIC does not imply...
author
Hans Wennborg
<hans@chromium.org>
Wed, 29 Apr 2020 13:12:43 +0000
(15:12 +0200)
committer
Hans Wennborg
<hans@chromium.org>
Wed, 29 Apr 2020 13:12:43 +0000
(15:12 +0200)
It broke building libclang.dll in Windows builds configured with
LLVM_ENABLE_PIC=OFF. See discussion on the cfe-commits thread.
clang/tools/libclang/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CMakeLists.txt
b/clang/tools/libclang/CMakeLists.txt
index
9368501
..
bb2b14c
100644
(file)
--- a/
clang/tools/libclang/CMakeLists.txt
+++ b/
clang/tools/libclang/CMakeLists.txt
@@
-77,7
+77,7
@@
if(MSVC)
set(LLVM_EXPORTED_SYMBOL_FILE)
endif()
-if(LLVM_ENABLE_PIC)
+if(LLVM_ENABLE_PIC
OR NOT LIBCLANG_BUILD_STATIC
)
set(ENABLE_SHARED SHARED)
endif()