aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/configure
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/configure')
-rwxr-xr-xsim/m32c/configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m32c/configure b/sim/m32c/configure
index 0b06935..c271c4b 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/configure
@@ -11976,7 +11976,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. */