X-Git-Url: http://git.openwrt.org/?p=openwrt%2Fopenwrt.git;a=blobdiff_plain;f=package%2Fnetwork%2Futils%2Fiproute2%2Fpatches%2F110-extra-ccopts.patch;h=71ec957ad0c83895e7dad774716f55e4ab82fbb6;hp=af38fe19894d1a1831fd5e434659e6990c998b40;hb=4fc8e64a40e8e6d7151640c9b76dbab38f51d254;hpb=580481cd6dd0f9199814974b9b176a6a038c24fb diff --git a/package/network/utils/iproute2/patches/110-extra-ccopts.patch b/package/network/utils/iproute2/patches/110-extra-ccopts.patch index af38fe1989..71ec957ad0 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)