summaryrefslogtreecommitdiff
path: root/package/network/utils/iproute2/patches/110-extra-ccopts.patch
diff options
context:
space:
mode:
authorLuka Perkov <luka@openwrt.org>2013-05-16 00:04:48 +0000
committerLuka Perkov <luka@openwrt.org>2013-05-16 00:04:48 +0000
commit4fc8e64a40e8e6d7151640c9b76dbab38f51d254 (patch)
tree475ec6d0e2c28deffdd7bdcd31d92e5d9485a7b7 /package/network/utils/iproute2/patches/110-extra-ccopts.patch
parenta62ca723099af67cae706b723305e4d48f082d10 (diff)
downloadmtk-20170518-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.zip
mtk-20170518-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.tar.gz
mtk-20170518-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.tar.bz2
iproute2: workaround compile issues with gcc 4.8.x
SVN-Revision: 36642
Diffstat (limited to 'package/network/utils/iproute2/patches/110-extra-ccopts.patch')
-rw-r--r--package/network/utils/iproute2/patches/110-extra-ccopts.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/iproute2/patches/110-extra-ccopts.patch b/package/network/utils/iproute2/patches/110-extra-ccopts.patch
index af38fe1..71ec957 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 -Werror -Wmissing-prototypes
- WFLAGS += -Wmissing-declarations -Wold-style-definition
+ WFLAGS := -Wall -Wstrict-prototypes
+ CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)