summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2017-11-29 10:45:37 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2017-11-29 10:46:06 -0800
commitc0ab2fd19da8a60b3317abff6a8da3184f281365 (patch)
tree5cdb8b78f2660bd311c06a2408489aa4fadd4995 /sys-apps/iproute2/iproute2-4.10.0.ebuild
parentmedia-sound/qmmp: Removed old. (diff)
downloadgentoo-c0ab2fd19da8a60b3317abff6a8da3184f281365.tar.gz
gentoo-c0ab2fd19da8a60b3317abff6a8da3184f281365.tar.bz2
gentoo-c0ab2fd19da8a60b3317abff6a8da3184f281365.zip
sys-apps/iproute2: respect CC
Closes: https://bugs.gentoo.org/630268 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'sys-apps/iproute2/iproute2-4.10.0.ebuild')
-rw-r--r--sys-apps/iproute2/iproute2-4.10.0.ebuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-apps/iproute2/iproute2-4.10.0.ebuild b/sys-apps/iproute2/iproute2-4.10.0.ebuild
index 42721a9c071e..ab3c0bc0aa38 100644
--- a/sys-apps/iproute2/iproute2-4.10.0.ebuild
+++ b/sys-apps/iproute2/iproute2-4.10.0.ebuild
@@ -50,7 +50,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):" \