diff options
author | H.J. Lu <hjl@lucon.org> | 2008-02-04 19:43:51 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2008-02-04 19:43:51 +0000 |
commit | 8083b114d157b475cb8f1074694fab0ec0d88a93 (patch) | |
tree | 533ace7363b6ca9549ed7d47b59440c0326dd7cd /gas | |
parent | 18f1fc9b237bd8103f365e5c58cbaee7e4a65680 (diff) | |
download | binutils-redhat-8083b114d157b475cb8f1074694fab0ec0d88a93.tar.gz |
bfd/
2008-02-04 Kai Tietz <kai.tietz@onevision.com>
H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* warning.m4: Enable -Wno-format by default when using gcc on
mingw.
* configure: Regenerated.
binutils/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
gas/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
ld/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
opcodes/
2008-02-04 H.J. Lu <hongjiu.lu@intel.com>
PR 5715
* configure: Regenerated.
Diffstat (limited to 'gas')
-rw-r--r-- | gas/ChangeLog | 5 | ||||
-rwxr-xr-x | gas/configure | 10 |
2 files changed, 15 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 29813e9350..64b7a5ec15 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2008-02-04 H.J. Lu <hongjiu.lu@intel.com> + + PR 5715 + * configure: Regenerated. + 2008-02-04 Adam Nemet <anemet@caviumnetworks.com> * config/tc-mips.c (mips_cpu_info_table): Add Octeon. diff --git a/gas/configure b/gas/configure index 48cc3587b6..2ff486f19d 100755 --- a/gas/configure +++ b/gas/configure @@ -10325,6 +10325,16 @@ echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} esac fi; +# Enable -Wno-format by default when using gcc on mingw +case "${host}" in + *-*-mingw32*) + if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then + GCC_WARN_CFLAGS="$GCC_WARN_CFLAGS -Wno-format" + fi + ;; + *) ;; +esac + # Enable -Werror by default when using gcc if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then ERROR_ON_WARNING=yes |