summaryrefslogtreecommitdiffstats
path: root/llvm/tools/opt/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/tools/opt/CMakeLists.txt')
-rw-r--r--llvm/tools/opt/CMakeLists.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/llvm/tools/opt/CMakeLists.txt b/llvm/tools/opt/CMakeLists.txt
index cb4ba5cfbce..25a4ebba699 100644
--- a/llvm/tools/opt/CMakeLists.txt
+++ b/llvm/tools/opt/CMakeLists.txt
@@ -24,9 +24,6 @@ set(LLVM_LINK_COMPONENTS
Passes
)
-# Support plugins.
-set(LLVM_NO_DEAD_STRIP 1)
-
add_llvm_tool(opt
AnalysisWrappers.cpp
BreakpointPrinter.cpp
@@ -39,6 +36,7 @@ add_llvm_tool(opt
DEPENDS
intrinsics_gen
+ SUPPORT_PLUGINS
)
export_executable_symbols(opt)
OpenPOWER on IntegriCloud