aboutsummaryrefslogtreecommitdiffstats
path: root/testing/linux-tools/disable-Werror.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-10-12 19:46:06 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-10-12 19:46:06 +0000
commit885065fae0e085ec41befcffd01bc6512607dc10 (patch)
tree37d3c88f9e4903d3fa26de7b51ec9d722081003e /testing/linux-tools/disable-Werror.patch
parent947b4d4e384615dd605b6b66ebc01f2661a39c17 (diff)
downloadaports-885065fae0e085ec41befcffd01bc6512607dc10.tar.gz
aports-885065fae0e085ec41befcffd01bc6512607dc10.tar.bz2
aports-885065fae0e085ec41befcffd01bc6512607dc10.tar.xz
testing/linux-tools: fix build by disable -Werror
Diffstat (limited to 'testing/linux-tools/disable-Werror.patch')
-rw-r--r--testing/linux-tools/disable-Werror.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/linux-tools/disable-Werror.patch b/testing/linux-tools/disable-Werror.patch
new file mode 100644
index 0000000000..e543d958ca
--- /dev/null
+++ b/testing/linux-tools/disable-Werror.patch
@@ -0,0 +1,13 @@
+diff --git a/tools/lib/bpf/Makefile b/tools/lib/bpf/Makefile
+index 5390e77..b9b4bb7 100644
+--- a/tools/lib/bpf/Makefile
++++ b/tools/lib/bpf/Makefile
+@@ -122,7 +122,7 @@ endif
+
+ # Append required CFLAGS
+ override CFLAGS += $(EXTRA_WARNINGS)
+-override CFLAGS += -Werror -Wall
++override CFLAGS += -Wall
+ override CFLAGS += -fPIC
+ override CFLAGS += $(INCLUDES)
+