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:
e4196b1
)
[CMake] Fix logic error: NOT LIBCLANG_BUILD_STATIC does not imply PIC
author
David Zarzycki
<dave@znu.io>
Sun, 26 Apr 2020 11:02:32 +0000
(07:02 -0400)
committer
David Zarzycki
<dave@znu.io>
Sun, 26 Apr 2020 11:16:42 +0000
(07:16 -0400)
clang/tools/libclang/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/clang/tools/libclang/CMakeLists.txt
b/clang/tools/libclang/CMakeLists.txt
index
bb2b14c
..
9368501
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
OR NOT LIBCLANG_BUILD_STATIC
)
+if(LLVM_ENABLE_PIC)
set(ENABLE_SHARED SHARED)
endif()