iproute2: workaround compile issues with gcc 4.8.x
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 110-extra-ccopts.patch
1 --- a/Makefile
2 +++ b/Makefile
3 @@ -29,7 +29,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
4 CC = gcc
5 HOSTCC = gcc
6 DEFINES += -D_GNU_SOURCE
7 -CCOPTS = -O2
8 +CCOPTS = -O2 $(EXTRA_CCOPTS)
9 WFLAGS := -Wall -Wstrict-prototypes
10
11 CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES)