summaryrefslogtreecommitdiffstats
path: root/clang/tools/driver/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'clang/tools/driver/CMakeLists.txt')
-rw-r--r--clang/tools/driver/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang/tools/driver/CMakeLists.txt b/clang/tools/driver/CMakeLists.txt
index 590d708d837..52a95e6bc6b 100644
--- a/clang/tools/driver/CMakeLists.txt
+++ b/clang/tools/driver/CMakeLists.txt
@@ -19,10 +19,9 @@ set( LLVM_LINK_COMPONENTS
option(CLANG_PLUGIN_SUPPORT "Build clang with plugin support" ON)
-# Support plugins. This must be before add_clang_executable as it reads
-# LLVM_NO_DEAD_STRIP.
+# Support plugins.
if(CLANG_PLUGIN_SUPPORT)
- set(LLVM_NO_DEAD_STRIP 1)
+ set(support_plugins SUPPORT_PLUGINS)
endif()
if(NOT CLANG_BUILT_STANDALONE)
@@ -37,6 +36,7 @@ add_clang_tool(clang
DEPENDS
${tablegen_deps}
+ ${support_plugins}
)
clang_target_link_libraries(clang
OpenPOWER on IntegriCloud