summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2016-09-18 16:29:36 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2016-09-18 16:30:35 +0100
commitfb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8 (patch)
treee2634c987b2aa833b26eab144b24db8b69df2b1a /sys-apps/iproute2/iproute2-4.7.0.ebuild
parentnet-nntp/nzbget: remove old (diff)
downloadgentoo-fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8.tar.gz
gentoo-fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8.tar.bz2
gentoo-fb1b9e74ae0ebc902a6d72dc80bc79aa905d69e8.zip
sys-apps/iproute2: respect CC, fixes cross-compilation, bug #591218
iproute tarball used to use 'CC = ' to override a compiler. Now it uses 'CC :=' and it broke our sed silently. Reported-by: Gerhard Bräunlich Reported-by: n05 on #gentoo-embedded Bug: https://bugs.gentoo.org/591218 Package-Manager: portage-2.3.0
Diffstat (limited to 'sys-apps/iproute2/iproute2-4.7.0.ebuild')
-rw-r--r--sys-apps/iproute2/iproute2-4.7.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/iproute2/iproute2-4.7.0.ebuild b/sys-apps/iproute2/iproute2-4.7.0.ebuild
index 9a1447daa5d8..4b4f69e7fb3d 100644
--- a/sys-apps/iproute2/iproute2-4.7.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.7.0.ebuild
@@ -52,7 +52,7 @@ src_prepare() {
epatch "${PATCHES[@]}"
sed -i \
- -e '/^CC =/d' \
+ -e '/^CC :=/d' \
-e "/^LIBDIR/s:=.*:=/$(get_libdir):" \
-e "s:-O2:${CFLAGS} ${CPPFLAGS}:" \
-e "/^HOSTCC/s:=.*:= $(tc-getBUILD_CC):" \