diff options
author | Sam James <sam@gentoo.org> | 2022-08-31 05:57:54 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2022-08-31 05:58:27 +0100 |
commit | a39d1669ca0f42a2477c978d14ba5c22728aa6cb (patch) | |
tree | cf5151d0a9831f64fb85995c9892b178b3418de1 /eclass | |
parent | sys-devel/kgcc64: add 10.4.0 (diff) | |
download | gentoo-a39d1669ca0f42a2477c978d14ba5c22728aa6cb.tar.gz gentoo-a39d1669ca0f42a2477c978d14ba5c22728aa6cb.tar.bz2 gentoo-a39d1669ca0f42a2477c978d14ba5c22728aa6cb.zip |
toolchain.eclass: adjust D dep for non-gcc
Needed for sys-devel/kgcc64.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain.eclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 5c6e39472a58..4a91f0d3dee0 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -324,11 +324,11 @@ if tc_has_feature zstd ; then RDEPEND+=" zstd? ( app-arch/zstd:= )" fi -if tc_has_feature valgrind; then +if tc_has_feature valgrind ; then BDEPEND+=" valgrind? ( dev-util/valgrind )" fi -if tc_version_is_at_least 12.0 ; then +if tc_has_feature d && tc_version_is_at_least 12.0 ; then # D in 12+ is self-hosting and needs D to bootstrap. # TODO: package some binary we can use, like for Ada # bug #840182 |