iproute2: workaround compile issues with gcc 4.8.x
[openwrt/openwrt.git] / package / network / utils / iproute2 / patches / 110-extra-ccopts.patch
index af38fe1..71ec957 100644 (file)
@@ -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)