aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCatherine Moore <clm@codesourcery.com>2013-04-22 18:16:45 -0400
committerCatherine Moore <clm@gcc.gnu.org>2013-04-22 18:16:45 -0400
commitb1485a33a3422fb8a2022d59660509cd9a3ea717 (patch)
tree745dcc4bd45f5c610f3b6fac6ef7d24868971944
parent3df70c625ab2c90d70b65ae7e88acff6c45e507b (diff)
downloadgcc-b1485a33a3422fb8a2022d59660509cd9a3ea717.zip
gcc-b1485a33a3422fb8a2022d59660509cd9a3ea717.tar.gz
gcc-b1485a33a3422fb8a2022d59660509cd9a3ea717.tar.bz2
configure.ac (gcc_cv_as_micromips_support): Use the --fatal-warnings option.
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. Co-Authored-By: David Daney <ddaney.cavm@gmail.com> From-SVN: r198164
-rw-r--r--gcc/ChangeLog7
-rwxr-xr-xgcc/configure2
-rw-r--r--gcc/configure.ac2
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])])