summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-05-03 19:35:43 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-05-03 21:26:46 +0100
commit45baf68501f057327d89e21fcb63650bb8ae0142 (patch)
treedb81612bc9282f46b708ce86e5957a95dea25a6d /eclass
parenttoolchain.eclass: USE=mpx was dropped upstream from >=gcc-9 (diff)
downloadgentoo-45baf68501f057327d89e21fcb63650bb8ae0142.tar.gz
gentoo-45baf68501f057327d89e21fcb63650bb8ae0142.tar.bz2
gentoo-45baf68501f057327d89e21fcb63650bb8ae0142.zip
toolchain.eclass: add D language to gcc-9
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5e7497dffcdb..17850db43045 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -173,6 +173,7 @@ if [[ ${PN} != "kgcc64" && ${PN} != gcc-* ]] ; then
# systemtap is a gentoo-specific switch: bug #654748
tc_version_is_at_least 8.0 &&
IUSE+=" systemtap" TC_FEATURES+=(systemtap)
+ tc_version_is_at_least 9.0 && IUSE+=" d"
fi
SLOT="${GCC_CONFIG_VER}"