diff options
author | jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-10-30 17:30:05 +0000 |
---|---|---|
committer | Tom Tromey <tromey@redhat.com> | 2013-11-08 11:11:42 -0700 |
commit | 880b18d10d614200d3e2ed2ce5270a711c9d327a (patch) | |
tree | 88aa86394c556a3c91a69e010e16bfe9ef55133b | |
parent | 522e3d71c8fc8ba78ee45fc3ae7e8aebcdc90526 (diff) | |
download | gdb-880b18d10d614200d3e2ed2ce5270a711c9d327a.zip gdb-880b18d10d614200d3e2ed2ce5270a711c9d327a.tar.gz gdb-880b18d10d614200d3e2ed2ce5270a711c9d327a.tar.bz2 |
/ * 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
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Makefile.in | 4 | ||||
-rw-r--r-- | Makefile.tpl | 4 |
3 files changed, 11 insertions, 2 deletions
@@ -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 diff --git a/Makefile.in b/Makefile.in index 572b3d0..e0ba784 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) diff --git a/Makefile.tpl b/Makefile.tpl index 3e187e1..65d070b 100644 --- a/Makefile.tpl +++ b/Makefile.tpl @@ -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) |