Unbreak non-PIC builds after r362390 / D62720

llvm-svn: 362399
This commit is contained in:
David Zarzycki 2019-06-03 13:39:49 +00:00
parent 9ed325e463
commit 082d99f58c
1 changed files with 1 additions and 1 deletions

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