diff options
-rw-r--r-- | gcc/ChangeLog | 7 | ||||
-rwxr-xr-x | gcc/configure | 2 | ||||
-rw-r--r-- | gcc/configure.ac | 2 |
3 files changed, 9 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f5b4635..3c52f53 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,10 @@ +2013-04-22 Catherine Moore <clm@codesourcery.com> + David Daney <ddaney.cavm@gmail.com> + + * configure.ac (gcc_cv_as_micromips_support): Use the + --fatal-warnings option. + * configure: Regenerate. + 2013-04-22 Marek Polacek <polacek@redhat.com> PR sanitizer/56990 diff --git a/gcc/configure b/gcc/configure index a33da7a..fd4a0eb 100755 --- a/gcc/configure +++ b/gcc/configure @@ -25766,7 +25766,7 @@ else gcc_cv_as_micromips_support=no if test x$gcc_cv_as != x; then $as_echo '.set micromips' > conftest.s - if { ac_try='$gcc_cv_as $gcc_cv_as_flags -o conftest.o conftest.s >&5' + if { ac_try='$gcc_cv_as $gcc_cv_as_flags --fatal-warnings -o conftest.o conftest.s >&5' { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5 (eval $ac_try) 2>&5 ac_status=$? diff --git a/gcc/configure.ac b/gcc/configure.ac index 1d5175b..a859d99 100644 --- a/gcc/configure.ac +++ b/gcc/configure.ac @@ -4058,7 +4058,7 @@ LCF0: [Define if your assembler supports .gnu_attribute.])]) gcc_GAS_CHECK_FEATURE([.micromips support], - gcc_cv_as_micromips_support,,, + gcc_cv_as_micromips_support,,[--fatal-warnings], [.set micromips],, [AC_DEFINE(HAVE_GAS_MICROMIPS, 1, [Define if your assembler supports the .set micromips directive])]) |