configure: use -Werror when testing CXX flags w/clang
Change-Id: Ia7d827d391941b4b507e568c99cc83531273433c
This commit is contained in:
parent
6432ae4902
commit
8fcac74256
@ -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
|
||||
;;
|
||||
|
Loading…
x
Reference in New Issue
Block a user