Code

Append -Werror to the right flags
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 17:20:26 +0000 (19:20 +0200)
committerRuben Kerkhof <ruben@rubenkerkhof.com>
Sat, 4 Jun 2016 17:20:26 +0000 (19:20 +0200)
configure.ac

index 5ab5f0d78b4a7a508f1fadaef4cb4c7f3634fbc8..7aff89a64561add301fbeea6bbd86608e9ec6931 100644 (file)
@@ -6199,7 +6199,7 @@ AM_CXXFLAGS="-Wall"
 if test "x$enable_werror" != "xno"
 then
         AM_CFLAGS="$AM_CFLAGS -Werror"
-        AM_CXXFLAGS="$AM_CFLAGS -Werror"
+        AM_CXXFLAGS="$AM_CXXFLAGS -Werror"
 fi
 AC_SUBST([AM_CFLAGS])
 AC_SUBST([AM_CXXFLAGS])