[libcxx] r243784 - Remove -Werror when using check_cxx_compiler_flag because it was causing compiler-rt breakages.
Eric Fiselier
eric at efcs.ca
Fri Jul 31 14:09:39 PDT 2015
Author: ericwf
Date: Fri Jul 31 16:09:38 2015
New Revision: 243784
URL: http://llvm.org/viewvc/llvm-project?rev=243784&view=rev
Log:
Remove -Werror when using check_cxx_compiler_flag because it was causing compiler-rt breakages.
Modified:
libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake
Modified: libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake?rev=243784&r1=243783&r2=243784&view=diff
==============================================================================
--- libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake (original)
+++ libcxx/trunk/cmake/Modules/HandleLibcxxFlags.cmake Fri Jul 31 16:09:38 2015
@@ -96,7 +96,7 @@ endmacro()
macro(add_compile_flags_if_supported)
foreach(flag ${ARGN})
mangle_name("${flag}" flagname)
- check_cxx_compiler_flag("-Werror ${flag}" "LIBCXX_SUPPORTS_${flagname}_FLAG")
+ check_cxx_compiler_flag("${flag}" "LIBCXX_SUPPORTS_${flagname}_FLAG")
add_compile_flags_if(LIBCXX_SUPPORTS_${flagname}_FLAG ${flag})
endforeach()
endmacro()
More information about the cfe-commits
mailing list