aboutsummaryrefslogtreecommitdiffstats
path: root/main/go/no-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/go/no-werror.patch')
-rw-r--r--main/go/no-werror.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/go/no-werror.patch b/main/go/no-werror.patch
new file mode 100644
index 0000000000..01f183edb0
--- /dev/null
+++ b/main/go/no-werror.patch
@@ -0,0 +1,10 @@
+--- a/src/cmd/dist/build.c
++++ b/src/cmd/dist/build.c
+@@ -384,7 +384,6 @@ static char *proto_gccargs[] = {
+ "-Wno-switch",
+ "-Wno-comment",
+ "-Wno-missing-field-initializers",
+- "-Werror",
+ "-fno-common",
+ "-ggdb",
+ "-pipe",