Merge "configure: use -Werror when testing CXX flags w/clang"

This commit is contained in:
James Zern 2014-02-05 18:47:24 -08:00 committed by Gerrit Code Review
commit 0addb60172

View File

@ -337,7 +337,7 @@ check_cxxflags() {
# Catch CFLAGS that trigger CXX warnings
case "$CXX" in
*g++*) check_cxx -Werror "$@" <<EOF
*c++-analyzer|*clang++|*g++*) check_cxx -Werror "$@" <<EOF
int x;
EOF
;;