commit:     9e51c9704162d07ab528179c4c3b05f36f1f21b3
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Thu Feb  9 19:56:39 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Thu Feb  9 22:47:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e51c970

toolchain.eclass: Register the D tc_feature

This behavior is relied on elsewhere, for setting BDEPENDs correctly.

Fixes: a39d1669ca0f4 ("toolchain.eclass: adjust D dep for non-gcc")
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 eclass/toolchain.eclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 6d8901d21812..06c044fd1d38 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 # @ECLASS: toolchain.eclass
@@ -271,7 +271,7 @@ if [[ ${PN} != kgcc64 && ${PN} != gcc-* ]] ; then
        tc_version_is_at_least 8.0 &&
                IUSE+=" systemtap" TC_FEATURES+=( systemtap )
 
-       tc_version_is_at_least 9.0 && IUSE+=" d"
+       tc_version_is_at_least 9.0 && IUSE+=" d" TC_FEATURES+=( d )
        tc_version_is_at_least 9.1 && IUSE+=" lto"
        tc_version_is_at_least 10 && IUSE+=" cet"
        tc_version_is_at_least 10 && IUSE+=" zstd" TC_FEATURES+=( zstd )

Reply via email to