diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2020-04-30 09:29:23 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2020-04-30 09:32:40 +0200 |
commit | 671279d304439d2f307f60d1ebcca6b2c7ea6469 (patch) | |
tree | f1f8a822cf93bfae2316b739ac12fe51c9afca1b | |
parent | 638cee48e65b9efcbced5adbef24233544a3450e (diff) | |
download | gcc-671279d304439d2f307f60d1ebcca6b2c7ea6469.zip gcc-671279d304439d2f307f60d1ebcca6b2c7ea6469.tar.gz gcc-671279d304439d2f307f60d1ebcca6b2c7ea6469.tar.bz2 |
Disable -Wformat and -Wimplicit-fallthrough for stage1 builds.
-rw-r--r-- | gcc/Makefile.in | 6 |
1 files changed, 2 insertions, 4 deletions
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@ |