summaryrefslogtreecommitdiffstats
path: root/package/network/utils/iproute2/patches/110-extra-ccopts.patch
diff options
context:
space:
mode:
authorluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-14 23:49:34 +0000
committerluka <luka@3c298f89-4303-0410-b956-a3cf2f4a3e73>2013-05-14 23:49:34 +0000
commite27d013c3a45d112d109ac89ca37e6ad74d3a291 (patch)
tree8d767b0f1dfbcab213271d74e3ab350b11421a1a /package/network/utils/iproute2/patches/110-extra-ccopts.patch
parentf5122727be76eeb9b38c9e7f3c1469e682357e9e (diff)
[package] iproute2: upgrade to 3.9.0
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36638 3c298f89-4303-0410-b956-a3cf2f4a3e73
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
+