summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-07-17 10:53:27 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-07-17 11:25:26 +0100
commitc81a41d64e4d382a3465f7f46f78b2b734fe0190 (patch)
tree1accb23b6963111f36e67eef6d3be613465d7ecc /eclass
parenttoolchain.eclass: drop pre-gcc-4.2 support code (diff)
downloadgentoo-c81a41d64e4d382a3465f7f46f78b2b734fe0190.tar.gz
gentoo-c81a41d64e4d382a3465f7f46f78b2b734fe0190.tar.bz2
gentoo-c81a41d64e4d382a3465f7f46f78b2b734fe0190.zip
toolchain.eclass: disable USE=vtv by default
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass10
1 files changed, 1 insertions, 9 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 54b70a080288..57a2c95dd10a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -168,15 +168,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
IUSE+=" graphite" TC_FEATURES+=(graphite)
tc_version_is_between 4.9 8 && IUSE+=" cilk"
tc_version_is_at_least 4.9 && IUSE+=" ada"
-
- # Don't enable USE=vtv starting from gcc-10. Once gcc-10
- # stable everywhere disable by default on older versions
- # as well.
- if tc_version_is_at_least 10; then
- IUSE+=" vtv"
- elif tc_version_is_at_least 4.9; then
- IUSE+=" +vtv"
- fi
+ tc_version_is_at_least 4.9 && IUSE+=" vtv"
tc_version_is_at_least 5.0 && IUSE+=" jit"
tc_version_is_between 5.0 9 && IUSE+=" mpx"
tc_version_is_at_least 6.0 && IUSE+=" +pie +ssp +pch"