summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-04-18 00:33:14 +0100
committerSam James <sam@gentoo.org>2024-04-18 00:33:31 +0100
commit5d5e200b89aaf06308a48ea7c0e010e3e81a5892 (patch)
treedd9dfef82df04699f9b0e33e14af23552dbbeb3e /eclass
parentapp-admin/keepassxc: Stabilize 2.7.7-r2 x86, #930165 (diff)
downloadgentoo-5d5e200b89aaf06308a48ea7c0e010e3e81a5892.tar.gz
gentoo-5d5e200b89aaf06308a48ea7c0e010e3e81a5892.tar.bz2
gentoo-5d5e200b89aaf06308a48ea7c0e010e3e81a5892.zip
toolchain.eclass: depend on virtual/rust for USE=rust (!)
This is a temporary measure from upstream commit r14-9968-g3e1e73fc995844. See also https://inbox.sourceware.org/gcc/34fec7ea-8762-4cac-a1c8-ff54e20e31ed@embecosm.com/. Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 2a74e6f165df..690b21c22d8e 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -406,6 +406,12 @@ if tc_has_feature d && tc_version_is_at_least 12.0 ; then
BDEPEND+=" d? ( || ( sys-devel/gcc[d(-)] <sys-devel/gcc-12[d(-)] ) )"
fi
+if tc_has_feature rust && tc_version_is_at_least 14.0.0_pre20230421 ; then
+ # This was added upstream in r14-9968-g3e1e73fc995844 as a temporary measure.
+ # See https://inbox.sourceware.org/gcc/34fec7ea-8762-4cac-a1c8-ff54e20e31ed@embecosm.com/
+ BDEPEND+=" rust? ( virtual/rust )"
+fi
+
PDEPEND=">=sys-devel/gcc-config-2.11"
#---->> S + SRC_URI essentials <<----