]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/arm/configure
sim: enable -Werror by default for some arches
[thirdparty/binutils-gdb.git] / sim / arm / configure
index 692cd9004d740f376380e2971993157b1645e2a3..34002b2e04782d10487a78ea2ce5aeec7c56d507 100755 (executable)
@@ -13684,11 +13684,9 @@ if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
 fi
 
 WERROR_CFLAGS=""
-if test "${ERROR_ON_WARNING}" = yes ; then
-# NOTE: Disabled in the sim dir due to most sims generating warnings.
-#    WERROR_CFLAGS="-Werror"
-     true
-fi
+  if test "${ERROR_ON_WARNING}" = yes ; then
+    WERROR_CFLAGS="-Werror"
+  fi
 
 build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
 -Wpointer-sign \