summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-09-10 16:07:57 +0200
committerFabian Groffen <grobian@gentoo.org>2016-09-10 16:08:15 +0200
commit8ac25df019a480ca19dc0913ba7810148eb5a221 (patch)
treefa5153e8e5b67220d189d15b86c0697bd1e37089 /sys-devel/binutils-apple/binutils-apple-7.0.ebuild
parentsys-devel/gcc-apple: remove cross-compile SLOT magic once copied from gcc/too... (diff)
downloadgentoo-8ac25df019a480ca19dc0913ba7810148eb5a221.tar.gz
gentoo-8ac25df019a480ca19dc0913ba7810148eb5a221.tar.bz2
gentoo-8ac25df019a480ca19dc0913ba7810148eb5a221.zip
sys-devel/binutils-apple: remove cross-compile SLOT magic once copied from binutils/toolchain.eclass, bug #593392
Package-Manager: portage-2.2.28
Diffstat (limited to 'sys-devel/binutils-apple/binutils-apple-7.0.ebuild')
-rw-r--r--sys-devel/binutils-apple/binutils-apple-7.0.ebuild6
1 files changed, 1 insertions, 5 deletions
diff --git a/sys-devel/binutils-apple/binutils-apple-7.0.ebuild b/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
index 0cd3df83cb9..0227bb294f2 100644
--- a/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
+++ b/sys-devel/binutils-apple/binutils-apple-7.0.ebuild
@@ -52,11 +52,7 @@ if [[ ${CTARGET} == ${CHOST} ]] ; then
fi
is_cross() { [[ ${CHOST} != ${CTARGET} ]] ; }
-if is_cross ; then
- SLOT="${CTARGET}-7"
-else
- SLOT="7"
-fi
+SLOT="7"
LIBPATH=/usr/$(get_libdir)/binutils/${CTARGET}/${PV}
INCPATH=${LIBPATH}/include