summarylogtreecommitdiffstats
path: root/gcc-no-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-no-werror.patch')
-rw-r--r--gcc-no-werror.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/gcc-no-werror.patch b/gcc-no-werror.patch
new file mode 100644
index 000000000000..fa31565925aa
--- /dev/null
+++ b/gcc-no-werror.patch
@@ -0,0 +1,21 @@
+--- src/makefile.cfg
++++ src/makefile.cfg
+@@ -36,7 +36,7 @@
+ @./misc.exe echo - "-Wall" >>gcc.opt
+ @./misc.exe echo - "-Wbad-function-cast" >>gcc.opt
+ @./misc.exe echo - "-Wcast-qual" >>gcc.opt
+- @./misc.exe echo - "-Werror" >>gcc.opt
++ @./misc.exe echo - "-Wno-error" >>gcc.opt
+ @./misc.exe echo - "-Wmissing-declarations" >>gcc.opt
+ @./misc.exe echo - "-Wmissing-prototypes" >>gcc.opt
+ @./misc.exe echo - "-Wpointer-arith" >>gcc.opt
+@@ -47,6 +47,9 @@
+ @./misc.exe echo - "-Wcast-align" >>gcc.opt
+ @./misc.exe echo - "-Wsign-compare" >>gcc.opt
+ @./misc.exe echo - "-nostdinc" >>gcc.opt
++ @./misc.exe echo - "-Wno-nonnull-compare" >>gcc.opt
++ @./misc.exe echo - "-Wno-misleading-indentation" >>gcc.opt
++ @./misc.exe echo - "-Wno-unused-const-variable" >>gcc.opt
+ @./misc.exe echo - "$(IQUOTE)" >>gcc.opt
+
+