summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBertrand Jacquin <beber@meleeweb.net>2009-05-05 23:57:45 +0200
committerBertrand Jacquin <beber@meleeweb.net>2009-05-05 23:57:45 +0200
commitc5e09c9d200e0bce2e06a529cf26d9851f5100de (patch)
tree67d508401bdc90e27764422e7c6119501e6e582b
parentutili-linux don't build correctly with uclibc <= 0.9.28 cause uclibc (diff)
downloadpatches-c5e09c9d200e0bce2e06a529cf26d9851f5100de.tar.gz
iproute2: cross build issue with netem
http://bugs.gentoo.org/show_bug.cgi?id=226035 http://git.kernel.org/?p=linux/kernel/git/shemminger/iproute2.git;a=commit;h=3cc6232e08e7c914fb9b9032f0f2957f7e015cf6
-rw-r--r--iproute2/iproute2-2.6.25-BJA-netem-cross-HOSTCC.diff10
1 files changed, 10 insertions, 0 deletions
diff --git a/iproute2/iproute2-2.6.25-BJA-netem-cross-HOSTCC.diff b/iproute2/iproute2-2.6.25-BJA-netem-cross-HOSTCC.diff
new file mode 100644
index 0000000..05f6562
--- /dev/null
+++ b/iproute2/iproute2-2.6.25-BJA-netem-cross-HOSTCC.diff
@@ -0,0 +1,10 @@
+--- netem/Makefile.ori 2008-06-12 10:44:19.000000000 +0200
++++ netem/Makefile 2008-06-12 10:45:07.000000000 +0200
+@@ -2,6 +2,7 @@
+ DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
+
+ HOSTCC ?= $(CC)
++CCOPTS = $(CBUILD_CFLAGS)
+ LDLIBS += -lm
+
+ all: $(DISTGEN) $(DISTDATA)