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