reland multislot logic now that the three packages impacted have been updated
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 06:54:31 +0000 (06:54 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 06:54:31 +0000 (06:54 +0000)
eclass/toolchain.eclass

index d34fff93032f66c42fd32ed8582437784a95cf52..838da9373b06bbf263fca32b07c850c650fa6a19 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.653 2015/02/10 07:22:00 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.654 2015/02/15 06:54:31 vapier Exp $
 
 # Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
 
@@ -155,7 +155,7 @@ fi
 IUSE+=" ${IUSE_DEF[*]}"
 
 # Support upgrade paths here or people get pissed
-if use multislot ; then
+if ! tc_version_is_at_least 4.6 || is_crosscompile || use multislot ; then
        SLOT="${GCC_CONFIG_VER}"
 else
        SLOT="${GCC_BRANCH_VER}"