]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - sim/igen/configure
sim: enable -Werror by default for some arches
[thirdparty/binutils-gdb.git] / sim / igen / configure
index 9ed39bfa128fc1aa4aa8b98b9612093d5b6c3c59..0239c526163295be14e74628e7cd5ba171312386 100755 (executable)
@@ -4810,11 +4810,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 \