From: Adrian Prantl Date: Tue, 7 Jul 2015 22:34:51 +0000 (+0000) Subject: Fix a linker issue with clang-check on Linux. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=476d33351fa2d77b032c3bde36dd880b4bc79d92;p=clang 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 --- 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 )