summaryrefslogtreecommitdiffstats
path: root/package/iproute2/patches
diff options
context:
space:
mode:
authornbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-05 11:55:00 +0000
committernbd <nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>2009-11-05 11:55:00 +0000
commit99867b24bf6a8beb6b4198e6c514bcfaa974ff4d (patch)
treeb9472ef5559e06a6ab8fbf26740facdd7afbe732 /package/iproute2/patches
parent18fbe1a18b0ded009ca3f460f5ea0fb0d2c892b8 (diff)
Pass TARGET_CFLAGS using and external variable instead a sed expression that can fail when TARGET_CFLAGS contains the ":" symbol.
Signed-off: Luigi 'Comio' Mantellini <luigi.mantellini@idf-hit.com> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18311 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/iproute2/patches')
-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..b1edc6a96
--- /dev/null
+++ b/package/iproute2/patches/110-extra-ccopts.patch
@@ -0,0 +1,11 @@
+--- ./Makefile.old 2009-10-18 21:14:18.344641842 +0200
++++ ./Makefile 2009-10-18 21:14:33.558618672 +0200
+@@ -22,7 +22,7 @@
+
+ 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
+