Merge "configure: use -Werror when testing CXX flags w/clang"
This commit is contained in:
commit
0addb60172
@ -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…
Reference in New Issue
Block a user