aboutsummaryrefslogtreecommitdiff
path: root/sim/cris/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/cris/configure')
-rwxr-xr-xsim/cris/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/cris/configure b/sim/cris/configure
index a1f6947..0454255 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -12114,7 +12114,7 @@ $as_echo_n "checking compiler warning flags... " >&6; }
-Werr*) WERROR_CFLAGS=-Werror ;;
*) # Check that GCC accepts it
saved_CFLAGS="$CFLAGS"
- CFLAGS="$CFLAGS $w"
+ CFLAGS="$CFLAGS -Werror $w"
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */