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