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