Author: ericwf
Date: Thu Jul 30 20:25:01 2015
New Revision: 243725
URL: http://llvm.org/viewvc/llvm-project?rev=243725&view=rev
Log:
Add -Wno-error by default to work around failing compiler-rt builds
Modified:
libcxx/trunk/CMakeLists.txt
Modified: libcxx/trunk/CMakeLists.txt
URL:
http://llvm.org/viewvc/llvm-project/libcxx/trunk/CMakeLists.txt?rev=243725&r1=243724&r2=243725&view=diff
==============================================================================
--- libcxx/trunk/CMakeLists.txt (original)
+++ libcxx/trunk/CMakeLists.txt Thu Jul 30 20:25:01 2015
@@ -202,6 +202,10 @@ add_compile_flags_if_supported(
if (LIBCXX_ENABLE_WERROR)
add_compile_flags_if_supported(-Werror)
add_compile_flags_if_supported(-WX)
+else()
+ # TODO(EricWF) Remove this. We shouldn't be suppressing errors when -Werror
is
+ # added elsewhere.
+ add_compile_flags_if_supported(-Wno-error)
endif()
if (LIBCXX_ENABLE_PEDANTIC)
add_compile_flags_if_supported(-pedantic)
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits