diff options
| author | Chris Bieneman <beanz@apple.com> | 2015-11-10 21:38:58 +0000 |
|---|---|---|
| committer | Chris Bieneman <beanz@apple.com> | 2015-11-10 21:38:58 +0000 |
| commit | 3809ca9d00eb8596d85b6ca7cdd32195c560cefb (patch) | |
| tree | fc62848c64e6142d971ca092c951cb9edd3d7c54 /llvm | |
| parent | 34af5e1c760b922fdea58ced7ca3ea53e6b53347 (diff) | |
| download | bcm5719-llvm-3809ca9d00eb8596d85b6ca7cdd32195c560cefb.tar.gz bcm5719-llvm-3809ca9d00eb8596d85b6ca7cdd32195c560cefb.zip | |
[CMake] Autoconf builds libLTO with -fPIC, CMake should be able to as well.
llvm-svn: 252652
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/tools/CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/CMakeLists.txt b/llvm/tools/CMakeLists.txt index 1b57d7abd13..85b01c312cf 100644 --- a/llvm/tools/CMakeLists.txt +++ b/llvm/tools/CMakeLists.txt @@ -25,7 +25,7 @@ if(NOT LLVM_USE_INTEL_JITEVENTS ) set(LLVM_TOOL_LLVM_JITLISTENER_BUILD Off) endif() -if(CYGWIN OR NOT LLVM_ENABLE_PIC) +if(CYGWIN) set(LLVM_TOOL_LTO_BUILD Off) set(LLVM_TOOL_LLVM_LTO_BUILD Off) endif() |

