From 885065fae0e085ec41befcffd01bc6512607dc10 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 12 Oct 2018 19:46:06 +0000 Subject: testing/linux-tools: fix build by disable -Werror --- testing/linux-tools/disable-Werror.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 testing/linux-tools/disable-Werror.patch (limited to 'testing/linux-tools/disable-Werror.patch') 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) + -- cgit v1.2.3