summaryrefslogtreecommitdiffstats
path: root/libcxx/cmake
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2015-07-31 21:09:38 +0000
committerEric Fiselier <eric@efcs.ca>2015-07-31 21:09:38 +0000
commit16bd6cbdf0fddbe5bee1a4ef17b0c1ac8c305d72 (patch)
treec59c51f71a5441d8a8ac1534ca22abd47f150073 /libcxx/cmake
parent4a2d56044f966007ec76519d2998f5d687aa16fc (diff)
downloadbcm5719-llvm-16bd6cbdf0fddbe5bee1a4ef17b0c1ac8c305d72.tar.gz
bcm5719-llvm-16bd6cbdf0fddbe5bee1a4ef17b0c1ac8c305d72.zip
Remove -Werror when using check_cxx_compiler_flag because it was causing compiler-rt breakages.
llvm-svn: 243784
Diffstat (limited to 'libcxx/cmake')
-rw-r--r--libcxx/cmake/Modules/HandleLibcxxFlags.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxx/cmake/Modules/HandleLibcxxFlags.cmake b/libcxx/cmake/Modules/HandleLibcxxFlags.cmake
index 2a450daffe7..223b7b7b8a6 100644
--- a/libcxx/cmake/Modules/HandleLibcxxFlags.cmake
+++ b/libcxx/cmake/Modules/HandleLibcxxFlags.cmake
@@ -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()
OpenPOWER on IntegriCloud