Fixing warning by adding the X86ISD::VROTRI case.
[oota-llvm.git] / autoconf / m4 / cxx_flag_check.m4
index ab09f2af5cf0c6961a0d291b974ca3fcbd050f2f..4b097445501519d0a1512f64e4e8a6104aca744a 100644 (file)
@@ -1,2 +1,2 @@
 AC_DEFUN([CXX_FLAG_CHECK],
-  [AC_SUBST($1, `$CXX $2 -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])
+  [AC_SUBST($1, `$CXX -Werror patsubst($2, [^-Wno-], [-W]) -fsyntax-only -xc /dev/null 2>/dev/null && echo $2`)])