summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-04-14 17:00:35 +0000
committerMike Frysinger <vapier@gentoo.org>2012-04-14 17:00:35 +0000
commit4ce3df743455a6f59e8d0fc5f39a2ac47d98b80d (patch)
tree7577d147f053b3b445b4029328daa665e03381a6 /eclass/toolchain.eclass
parentAdd ~amd64-linux keyword. (diff)
downloadgentoo-2-4ce3df743455a6f59e8d0fc5f39a2ac47d98b80d.tar.gz
gentoo-2-4ce3df743455a6f59e8d0fc5f39a2ac47d98b80d.tar.bz2
gentoo-2-4ce3df743455a6f59e8d0fc5f39a2ac47d98b80d.zip
simplify SLOT logic a bit by dropping CTARGET as we no longer need it -- we have CATEGORY=cross-${CTARGET} to keep things unique
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 2 insertions, 4 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index b5c0aa00cdb7..7eec040fd522 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.532 2012/03/22 06:07:08 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.533 2012/04/14 17:00:35 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -117,9 +117,7 @@ fi
# Support upgrade paths here or people get pissed
if use multislot ; then
- SLOT="${CTARGET}-${GCC_CONFIG_VER}"
-elif is_crosscompile; then
- SLOT="${CTARGET}-${GCC_BRANCH_VER}"
+ SLOT="${GCC_CONFIG_VER}"
else
SLOT="${GCC_BRANCH_VER}"
fi