summaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/110-extra-ccopts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/network/utils/iproute2/patches/110-extra-ccopts.patch')
-rw-r--r--package/network/utils/iproute2/patches/110-extra-ccopts.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/package/network/utils/iproute2/patches/110-extra-ccopts.patch b/package/network/utils/iproute2/patches/110-extra-ccopts.patch
index f4ef8d763..af38fe198 100644
--- a/package/network/utils/iproute2/patches/110-extra-ccopts.patch
+++ b/package/network/utils/iproute2/patches/110-extra-ccopts.patch
@@ -6,6 +6,6 @@
DEFINES += -D_GNU_SOURCE
-CCOPTS = -O2
+CCOPTS = -O2 $(EXTRA_CCOPTS)
- WFLAGS = -Wall -Wstrict-prototypes
- CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
- YACCFLAGS = -d -t -v
+ WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
+ WFLAGS += -Wmissing-declarations -Wold-style-definition
+