]> granicus.if.org Git - libvpx/commitdiff
configure: use -Werror when testing CXX flags w/clang
authorJames Zern <jzern@google.com>
Thu, 6 Feb 2014 01:31:48 +0000 (17:31 -0800)
committerJames Zern <jzern@google.com>
Thu, 6 Feb 2014 01:31:48 +0000 (17:31 -0800)
Change-Id: Ia7d827d391941b4b507e568c99cc83531273433c

build/make/configure.sh

index 8dcb9bbf428a6451561bb49a99dcf41736bf5c08..b5151da13a96f0606bf07ba6151d804e53166279 100755 (executable)
@@ -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
       ;;