summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-06-21 05:50:03 +0000
committerMike Frysinger <vapier@gentoo.org>2008-06-21 05:50:03 +0000
commit3c73da84066113d0e88b5f5e161bc4122162203e (patch)
tree2eb31ca845d2b1da5d6c7050c1c730c807c72eae /sys-apps/iproute2/files
parentRespect LDFLAGS #181438 by Arfrever Frehtes Taifersar Arahesis and add fix fr... (diff)
downloadhistorical-3c73da84066113d0e88b5f5e161bc4122162203e.tar.gz
historical-3c73da84066113d0e88b5f5e161bc4122162203e.tar.bz2
historical-3c73da84066113d0e88b5f5e161bc4122162203e.zip
Respect env CPPFLAGS, add fix by Bertrand Jacquin for cross-compiling #226035, and build against system headers rather than local copies #226359 by Derk W te Bokkel.
Package-Manager: portage-2.2_pre8/cvs/Linux 2.6.25 x86_64
Diffstat (limited to 'sys-apps/iproute2/files')
-rw-r--r--sys-apps/iproute2/files/iproute2-2.6.25.20080417-build.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/sys-apps/iproute2/files/iproute2-2.6.25.20080417-build.patch b/sys-apps/iproute2/files/iproute2-2.6.25.20080417-build.patch
new file mode 100644
index 000000000000..72e4d90be7aa
--- /dev/null
+++ b/sys-apps/iproute2/files/iproute2-2.6.25.20080417-build.patch
@@ -0,0 +1,16 @@
+dont let target flags bleed into build flags
+
+fix by Bertrand Jacquin
+
+http://bugs.gentoo.org/226035
+
+--- netem/Makefile
++++ netem/Makefile
+@@ -2,6 +2,7 @@ DISTGEN = maketable normal pareto paretonormal
+ DISTDATA = normal.dist pareto.dist paretonormal.dist experimental.dist
+
+ HOSTCC ?= $(CC)
++CCOPTS = $(CBUILD_CFLAGS)
+ LDLIBS += -lm
+
+ all: $(DISTGEN) $(DISTDATA)