summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2016-06-21 18:05:16 +0200
committerMichał Górny <mgorny@gentoo.org>2016-06-21 19:20:38 +0200
commit6521d68830165d2a140ef661be83d40319de0c39 (patch)
tree40fea9b91a7de01d202e631f6cfd803c0fc86bdd /eclass/toolchain.eclass
parentsys-apps/checkpolicy: stable userspace 2.5 (diff)
downloadgentoo-6521d68830165d2a140ef661be83d40319de0c39.tar.gz
gentoo-6521d68830165d2a140ef661be83d40319de0c39.tar.bz2
gentoo-6521d68830165d2a140ef661be83d40319de0c39.zip
toolchain.eclass: [QA] Remove meaningless USE=multislot, #584610
The USE=multislot as defined partially by toolchain.eclass and partially by sys-devel/gcc was used for two purposes: - enabling build-time (only) blockers on old gcc versions -- which do not make any sense because they are build-time only and there is no technical reason for two gcc version ranges not to be installed at the same time, both at build time and at run time, - changing behavior of post-install wrt conditional gcc-config calls. Both cases are invalid use of USE flags, considering that the flag does not affect the installed files in any way.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 1 insertions, 5 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 9dd1604e963..5dff279503c 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -131,7 +131,7 @@ else
LICENSE="GPL-2+ LGPL-2.1+ FDL-1.1+"
fi
-IUSE="multislot regression-test vanilla"
+IUSE="regression-test vanilla"
IUSE_DEF=( nls nptl )
if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
@@ -2142,10 +2142,6 @@ should_we_gcc_config() {
local curr_branch_ver=$(get_version_component_range 1-2 ${curr_config_ver})
- # If we're using multislot, just run gcc-config if we're installing
- # to the same profile as the current one.
- use multislot && return $([[ ${curr_config_ver} == ${GCC_CONFIG_VER} ]])
-
if [[ ${curr_branch_ver} == ${GCC_BRANCH_VER} ]] ; then
return 0
else