Unbreak non-PIC builds after r362390 / D62720

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362399 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Zarzycki 2019-06-03 13:39:49 +00:00
parent 2d2b2ea8ca
commit de62abc8eb

View File

@ -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})