aboutsummaryrefslogtreecommitdiffstats
path: root/main/ipfw/remove-werror.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/ipfw/remove-werror.patch')
-rw-r--r--main/ipfw/remove-werror.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/main/ipfw/remove-werror.patch b/main/ipfw/remove-werror.patch
new file mode 100644
index 0000000000..0632d1eded
--- /dev/null
+++ b/main/ipfw/remove-werror.patch
@@ -0,0 +1,10 @@
+--- a/ipfw/Makefile
++++ b/ipfw/Makefile
+@@ -21,7 +21,6 @@
+ ifneq ($(VER),openwrt)
+ ifeq ($(OSARCH),Linux)
+ EXTRA_CFLAGS += -D__BSD_VISIBLE
+- EXTRA_CFLAGS += -Werror
+ # Required by GCC 4.6
+ EXTRA_CFLAGS += -Wno-unused-but-set-variable
+ endif