aboutsummaryrefslogtreecommitdiff
path: root/sim/bfin/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/bfin/configure')
-rwxr-xr-xsim/bfin/configure9
1 files changed, 4 insertions, 5 deletions
diff --git a/sim/bfin/configure b/sim/bfin/configure
index d4aa3a2..1344e1e 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -11579,15 +11579,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 \