[compiler-rt] r200761 - [CMake] Fixup for r200753
Alexey Samsonov
samsonov at google.com
Tue Feb 4 05:24:13 PST 2014
Author: samsonov
Date: Tue Feb 4 07:24:13 2014
New Revision: 200761
URL: http://llvm.org/viewvc/llvm-project?rev=200761&view=rev
Log:
[CMake] Fixup for r200753
Modified:
compiler-rt/trunk/CMakeLists.txt
Modified: compiler-rt/trunk/CMakeLists.txt
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/CMakeLists.txt?rev=200761&r1=200760&r2=200761&view=diff
==============================================================================
--- compiler-rt/trunk/CMakeLists.txt (original)
+++ compiler-rt/trunk/CMakeLists.txt Tue Feb 4 07:24:13 2014
@@ -164,7 +164,7 @@ if (NOT MSVC)
endif()
endif()
# Build sanitizer runtimes with -fno-function-sections.
-check_cxx_compiler_flag(-Werror -fno-function-sections SUPPORTS_FNO_FUNCTION_SECTIONS_FLAG)
+check_cxx_compiler_flag("-Werror -fno-function-sections" SUPPORTS_FNO_FUNCTION_SECTIONS_FLAG)
if(SUPPORTS_FNO_FUNCTION_SECTIONS_FLAG)
list(APPEND SANITIZER_COMMON_CFLAGS -fno-function-sections)
endif()
More information about the llvm-commits
mailing list