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

Change-Id: Ia7d827d391941b4b507e568c99cc83531273433c
This commit is contained in:
James Zern 2014-02-05 17:31:48 -08:00
parent 6432ae4902
commit 8fcac74256

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
;;