Commit 8fcac742 authored by James Zern's avatar James Zern

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

Change-Id: Ia7d827d391941b4b507e568c99cc83531273433c
parent 6432ae49
......@@ -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
;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment