filename | configure |
changeset | 966:0f0320cb3650 |
prev | 964:f2f3c7612d06 |
next | 977:8514fb4bc101 |
author | nkeynes |
date | Thu Jan 22 00:50:09 2009 +0000 (15 years ago) |
permissions | -rw-r--r-- |
last change | Fix Post-increment mov instructions - per the manual, increment doesn't happen if the source and target registers are the same. |
file | annotate | diff | log | raw |
1.1 --- a/configure Thu Jan 15 04:15:11 2009 +00001.2 +++ b/configure Thu Jan 22 00:50:09 2009 +00001.3 @@ -7126,7 +7126,9 @@1.5 # Check whether --enable-strict-warn was given.1.6 if test "${enable_strict_warn+set}" = set; then1.7 - enableval=$enable_strict_warn; CFLAGS="$CFLAGS -Werror -Wall -Wno-unused"1.8 + enableval=$enable_strict_warn; if test "$enableval" == "yes"; then1.9 + enable_strictwarn=yes1.10 + fi1.11 fi1.13 # Check whether --enable-translator was given.1.14 @@ -7264,9 +7266,10 @@1.16 if test "x$enable_optimized" = "xyes"; then1.17 CFLAGS="$CFLAGS $CCOPT"1.18 - OBJCFLAGS="$OBJCFLAGS $CCOPT"1.19 + OBJCFLAGS="$OBJCFLAGS $OBJCOPT"1.20 if test "x$enable_profiled" != "xyes"; then1.21 CFLAGS="$CFLAGS -fomit-frame-pointer"1.22 + OBJCFLAGS="$OBJCFLAGS -fomit-frame-pointer"1.23 fi1.24 else1.25 CFLAGS="$CFLAGS -g3"1.26 @@ -7279,6 +7282,11 @@1.27 OBJCFLAGS="$OBJCFLAGS -pg";1.28 fi1.30 +if test "x$enable_strictwarn" = "xyes"; then1.31 + CFLAGS="$CFLAGS -Wall -Werror -Wno-unused"1.32 + OBJCFLAGS="$OBJCFLAGS -Wall -Werror -Wno-unused"1.33 +fi1.34 +1.36 { $as_echo "$as_me:$LINENO: checking support for fastcall calling conventions" >&51.37 $as_echo_n "checking support for fastcall calling conventions... " >&6; };
.