From de62abc8eb9c9aaee4c6514faeab1426616105e0 Mon Sep 17 00:00:00 2001 From: David Zarzycki Date: Mon, 3 Jun 2019 13:39:49 +0000 Subject: [PATCH] Unbreak non-PIC builds after r362390 / D62720 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@362399 91177308-0d34-0410-b5e6-96231b3b80d8 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0bb3edfa895..de499a75827 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})