diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-30 17:30:05 +0000 |
---|---|---|
committer | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-30 17:30:05 +0000 |
commit | e0fad71818fc57b6a7622a4871de6cdce1015962 (patch) | |
tree | ffac47a77351ae00bcb1907bcc1695d013b7a813 /Makefile.in | |
parent | d03e6917df1f82996a0315a844d36994a1fe9b55 (diff) | |
download | gcc-e0fad71818fc57b6a7622a4871de6cdce1015962.tar.gz |
/
* Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass
--disable-build-format-warnings.
gcc/
* configure.ac (loose_warn): Add -Wno-format if
--disable-build-format-warnings.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204217 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'Makefile.in')
-rw-r--r-- | Makefile.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.in b/Makefile.in index 572b3d0941e..e0ba7848434 100644 --- a/Makefile.in +++ b/Makefile.in @@ -498,8 +498,10 @@ STAGE1_LANGUAGES = @stage1_languages@ # the last argument when conflicting --enable arguments are passed. # * Likewise, we force-disable coverage flags, since the installed # compiler probably has never heard of them. +# * We also disable -Wformat, since older GCCs don't understand newer %s. STAGE1_CONFIGURE_FLAGS = --disable-intermodule $(STAGE1_CHECKING) \ - --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" + --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" \ + --disable-build-format-warnings STAGEprofile_CFLAGS = $(STAGE2_CFLAGS) -fprofile-generate STAGEprofile_TFLAGS = $(STAGE2_TFLAGS) |