]> granicus.if.org Git - clang/commitdiff
Fix a linker issue with clang-check on Linux.
authorAdrian Prantl <aprantl@apple.com>
Tue, 7 Jul 2015 22:34:51 +0000 (22:34 +0000)
committerAdrian Prantl <aprantl@apple.com>
Tue, 7 Jul 2015 22:34:51 +0000 (22:34 +0000)
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

tools/clang-check/CMakeLists.txt

index fe1fdedd7c43eaab8db727c2cdf1942242e790ff..7253a42ab8e41f249fb21aaec16201404ee0e8d8 100644 (file)
@@ -17,6 +17,8 @@ set( LLVM_LINK_COMPONENTS
   Vectorize
   )
 
+set(LLVM_NO_DEAD_STRIP 1)
+
 add_clang_executable(clang-check
   ClangCheck.cpp
   )