iproute2: workaround compile issues with gcc 4.8.x
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 000-warnings.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -30,8 +30,7 @@ CC = gcc
4 HOSTCC = gcc
5 DEFINES += -D_GNU_SOURCE
6 CCOPTS = -O2
7 -WFLAGS := -Wall -Wstrict-prototypes -Werror -Wmissing-prototypes
8 -WFLAGS += -Wmissing-declarations -Wold-style-definition
9 +WFLAGS := -Wall -Wstrict-prototypes
10
11 CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)
12 YACCFLAGS = -d -t -v