diff options
author | Luka Perkov <luka@openwrt.org> | 2013-05-16 00:04:48 +0000 |
---|---|---|
committer | Luka Perkov <luka@openwrt.org> | 2013-05-16 00:04:48 +0000 |
commit | 4fc8e64a40e8e6d7151640c9b76dbab38f51d254 (patch) | |
tree | 475ec6d0e2c28deffdd7bdcd31d92e5d9485a7b7 /package/network/utils/iproute2/patches/000-warnings.patch | |
parent | a62ca723099af67cae706b723305e4d48f082d10 (diff) | |
download | upstream-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.tar.gz upstream-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.tar.bz2 upstream-4fc8e64a40e8e6d7151640c9b76dbab38f51d254.zip |
iproute2: workaround compile issues with gcc 4.8.x
SVN-Revision: 36642
Diffstat (limited to 'package/network/utils/iproute2/patches/000-warnings.patch')
-rw-r--r-- | package/network/utils/iproute2/patches/000-warnings.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/network/utils/iproute2/patches/000-warnings.patch b/package/network/utils/iproute2/patches/000-warnings.patch new file mode 100644 index 0000000000..8f07c3896b --- /dev/null +++ b/package/network/utils/iproute2/patches/000-warnings.patch @@ -0,0 +1,12 @@ +--- a/Makefile ++++ b/Makefile +@@ -30,8 +30,7 @@ CC = gcc + HOSTCC = gcc + DEFINES += -D_GNU_SOURCE + CCOPTS = -O2 +-WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes +-WFLAGS += -Wmissing-declarations -Wold-style-definition ++WFLAGS := -Wall -Wstrict-prototypes + + CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) + YACCFLAGS = -d -t -v |