diff options
Diffstat (limited to 'package/network/utils/iproute2/patches/110-extra-ccopts.patch')
-rw-r--r-- | package/network/utils/iproute2/patches/110-extra-ccopts.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/package/network/utils/iproute2/patches/110-extra-ccopts.patch b/package/network/utils/iproute2/patches/110-extra-ccopts.patch index 71ec957ad0..4a08757bd9 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 + WFLAGS := -Wall -Wstrict-prototypes -Wmissing-prototypes + WFLAGS += -Wmissing-declarations -Wold-style-definition - CFLAGS = $(WFLAGS) $(CCOPTS) -I../include $(DEFINES) |