r241636 - Fix a linker issue with clang-check on Linux.
Adrian Prantl
aprantl at apple.com
Tue Jul 7 15:34:51 PDT 2015
Author: adrian
Date: Tue Jul 7 17:34:51 2015
New Revision: 241636
URL: http://llvm.org/viewvc/llvm-project?rev=241636&view=rev
Log:
Fix a linker issue with clang-check on Linux.
There must be a better way to fix this — I'll keep investigating.
Modified:
cfe/trunk/tools/clang-check/CMakeLists.txt
Modified: cfe/trunk/tools/clang-check/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/clang-check/CMakeLists.txt?rev=241636&r1=241635&r2=241636&view=diff
==============================================================================
--- cfe/trunk/tools/clang-check/CMakeLists.txt (original)
+++ cfe/trunk/tools/clang-check/CMakeLists.txt Tue Jul 7 17:34:51 2015
@@ -17,6 +17,8 @@ set( LLVM_LINK_COMPONENTS
Vectorize
)
+set(LLVM_NO_DEAD_STRIP 1)
+
add_clang_executable(clang-check
ClangCheck.cpp
)
More information about the cfe-commits
mailing list