]> granicus.if.org Git - llvm/commitdiff
Revert "[Analysis] Link library dependencies to Analysis plugins"
authorAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 May 2019 00:50:03 +0000 (00:50 +0000)
committerAkira Hatanaka <ahatanaka@apple.com>
Sat, 25 May 2019 00:50:03 +0000 (00:50 +0000)
This reverts commit r361340. The following builder has been broken for
the past few days because of this commit:

http://green.lab.llvm.org/green/job/clang-stage2-cmake-RgSan/

Also revert r361399, which was committed to fix r361340.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361685 91177308-0d34-0410-b5e6-96231b3b80d8

cmake/modules/HandleLLVMOptions.cmake

index f172092508afce4e72af1b7ee3d29b76ab792d8c..cb9a01e1d39f7899cca3692394ec34647c500af0 100644 (file)
@@ -914,14 +914,10 @@ endif()
 
 # Plugin support
 # FIXME: Make this configurable.
-if(WIN32 OR CYGWIN)
-  if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
-    set(LLVM_ENABLE_PLUGINS ON)
-  else()
-    set(LLVM_ENABLE_PLUGINS OFF)
-  endif()
+if(BUILD_SHARED_LIBS OR LLVM_BUILD_LLVM_DYLIB)
+  set(LLVM_ENABLE_PLUGINS ON)
 else()
-  set(LLVM_ENABLE_PLUGINS ${LLVM_ENABLE_PIC})
+  set(LLVM_ENABLE_PLUGINS OFF)
 endif()
 
 # By default we should enable LLVM_ENABLE_IDE only for multi-configuration