1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Unbreak non-PIC builds after r361340/D62174

llvm-svn: 361399
This commit is contained in:
David Zarzycki 2019-05-22 15:48:12 +00:00
parent 6bcefdd323
commit 7ab73950dc

View File

@ -921,7 +921,7 @@ if(WIN32 OR CYGWIN)
set(LLVM_ENABLE_PLUGINS OFF)
endif()
else()
set(LLVM_ENABLE_PLUGINS ON)
set(LLVM_ENABLE_PLUGINS ${LLVM_ENABLE_PIC})
endif()
# By default we should enable LLVM_ENABLE_IDE only for multi-configuration