/ * Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass --disable-build-format-warnings....
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 30 Oct 2013 17:30:05 +0000 (17:30 +0000)
committerTom Tromey <tromey@redhat.com>
Fri, 8 Nov 2013 18:11:42 +0000 (11:11 -0700)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@204217 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
Makefile.in
Makefile.tpl

index 8097c4f51539d88728365e8b46cfeee87ae4eccb..d1934266c76d35f3081f6b80aa0d6d4a8fd43311 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2013-10-30  Jason Merrill  <jason@redhat.com>
+
+       * Makefile.tpl (STAGE1_CONFIGURE_FLAGS): Pass
+       --disable-build-format-warnings.
+
 2013-10-29  Balaji V. Iyer  <balaji.v.iyer@intel.com>
 
        * Makefile.def: Add libcilkrts to target_modules.  Make libcilkrts 
index 572b3d0941e425a5a334b8364ca3ad42dfc332a5..e0ba7848434aeab90b15a52e65203ffc29c60a25 100644 (file)
@@ -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)
index 3e187e1b9dce81091856a72cdec287358134d74c..65d070b946e82a6bb68c0d0568aa80d3ed06ca25 100644 (file)
@@ -451,8 +451,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)