From 671279d304439d2f307f60d1ebcca6b2c7ea6469 Mon Sep 17 00:00:00 2001 From: Aldy Hernandez Date: Thu, 30 Apr 2020 09:29:23 +0200 Subject: Disable -Wformat and -Wimplicit-fallthrough for stage1 builds. --- gcc/Makefile.in | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gcc') diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 89a56c3..934d946 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -221,15 +221,13 @@ libgcov-merge-tool.o-warn = -Wno-error gimple-match.o-warn = -Wno-unused generic-match.o-warn = -Wno-unused dfp.o-warn = -Wno-strict-aliasing -tree-ssa-strlen.o-warn = -Wno-format -Wno-implicit-fallthrough -gimple-ssa-sprintf.o-warn = -Wno-format -Wno-implicit-fallthrough # All warnings have to be shut off in stage1 if the compiler used then # isn't gcc; configure determines that. WARN_CFLAGS will be either # $(GCC_WARN_CFLAGS), or nothing. Similarly, WARN_CXXFLAGS will be # either $(GCC_WARN_CXXFLAGS), or nothing. -WARN_CFLAGS = @warn_cflags@ -WARN_CXXFLAGS = @warn_cxxflags@ +WARN_CFLAGS = @warn_cflags@ -Wno-format -Wno-implicit-fallthrough +WARN_CXXFLAGS = @warn_cxxflags@ -Wno-format -Wno-implicit-fallthrough CPPFLAGS = @CPPFLAGS@ -- cgit v1.1