1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

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 9db6db2bcd
commit 4bdcfdd659

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