From 4ce3df743455a6f59e8d0fc5f39a2ac47d98b80d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 14 Apr 2012 17:00:35 +0000 Subject: simplify SLOT logic a bit by dropping CTARGET as we no longer need it -- we have CATEGORY=cross-${CTARGET} to keep things unique --- eclass/toolchain.eclass | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'eclass/toolchain.eclass') 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 @@ -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 -- cgit v1.2.3-65-gdbad