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