aboutsummaryrefslogtreecommitdiff
path: root/sim/m68hc11/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m68hc11/configure')
-rwxr-xr-xsim/m68hc11/configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 1ed8c04..e24c650 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -11248,15 +11248,14 @@ if test "${enable_werror+set}" = set; then :
fi
-# Enable -Werror by default when using gcc
if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then
- ERROR_ON_WARNING=yes
+ ERROR_ON_WARNING=yes
fi
WERROR_CFLAGS=""
- if test "${ERROR_ON_WARNING}" = yes ; then
- WERROR_CFLAGS="-Werror"
- fi
+if test "${ERROR_ON_WARNING}" = yes ; then
+ WERROR_CFLAGS="-Werror"
+fi
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
-Wpointer-sign \