[llvm] r362399 - Unbreak non-PIC builds after r362390 / D62720

David Zarzycki via llvm-commits llvm-commits at lists.llvm.org
Mon Jun 3 06:39:49 PDT 2019


Author: davezarzycki
Date: Mon Jun  3 06:39:49 2019
New Revision: 362399

URL: http://llvm.org/viewvc/llvm-project?rev=362399&view=rev
Log:
Unbreak non-PIC builds after r362390 / D62720

Modified:
    llvm/trunk/CMakeLists.txt

Modified: llvm/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/CMakeLists.txt?rev=362399&r1=362398&r2=362399&view=diff
==============================================================================
--- llvm/trunk/CMakeLists.txt (original)
+++ llvm/trunk/CMakeLists.txt Mon Jun  3 06:39:49 2019
@@ -629,7 +629,7 @@ if(WIN32 OR CYGWIN)
     set(LLVM_ENABLE_PLUGINS_default OFF)
   endif()
 else()
-  set(LLVM_ENABLE_PLUGINS_default ON)
+  set(LLVM_ENABLE_PLUGINS_default LLVM_ENABLE_PIC)
 endif()
 option(LLVM_ENABLE_PLUGINS "Enable plugin support" ${LLVM_ENABLE_PLUGINS_default})
 




More information about the llvm-commits mailing list