summaryrefslogtreecommitdiffstats
path: root/tools/clang-check
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2015-07-07 22:34:51 +0000
committerAdrian Prantl <aprantl@apple.com>2015-07-07 22:34:51 +0000
commit476d33351fa2d77b032c3bde36dd880b4bc79d92 (patch)
tree3077c23100693cdf5e154ddbca28fabaa9737e82 /tools/clang-check
parent5f180ca91121a0175c9f370aaf58c3285e1aad88 (diff)
Fix a linker issue with clang-check on Linux.
There must be a better way to fix this — I'll keep investigating. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241636 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/clang-check')
-rw-r--r--tools/clang-check/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/clang-check/CMakeLists.txt b/tools/clang-check/CMakeLists.txt
index fe1fdedd7c..7253a42ab8 100644
--- a/tools/clang-check/CMakeLists.txt
+++ b/tools/clang-check/CMakeLists.txt
@@ -17,6 +17,8 @@ set( LLVM_LINK_COMPONENTS
Vectorize
)
+set(LLVM_NO_DEAD_STRIP 1)
+
add_clang_executable(clang-check
ClangCheck.cpp
)