aboutsummaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches/110-extra-ccopts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/iproute2/patches/110-extra-ccopts.patch')
-rw-r--r--package/iproute2/patches/110-extra-ccopts.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/iproute2/patches/110-extra-ccopts.patch b/package/iproute2/patches/110-extra-ccopts.patch
new file mode 100644
index 000000000..0bf822f28
--- /dev/null
+++ b/package/iproute2/patches/110-extra-ccopts.patch
@@ -0,0 +1,11 @@
+--- a/Makefile
++++ b/Makefile
+@@ -29,7 +29,7 @@ ADDLIB+=ipx_ntop.o ipx_pton.o
+
+ CC = gcc
+ HOSTCC = gcc
+-CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall
++CCOPTS = -D_GNU_SOURCE -O2 -Wstrict-prototypes -Wall $(EXTRA_CCOPTS)
+ CFLAGS = $(CCOPTS) -I../include $(DEFINES)
+ YACCFLAGS = -d -t -v
+