commit:     a56a01ff71e7d920a3b9f97c3af9fec2c14de671
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 04:06:08 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 04:06:08 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a56a01ff

Revert "toolchain.eclass: drop explicit --enable-libada passing"

This reverts commit 5ba1230cf8dad63a56381b7f48b3f27737813383.

Fix was ineffective because there doesn't seem to be logic for autodisabling
freestanding targets in upstream configure, so will do it manually as we
do in some other places.

Bug: https://bugs.gentoo.org/970098
Signed-off-by: Sam James <sam <AT> gentoo.org>

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

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 97b57411d9a1..d09705afd165 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1779,6 +1779,10 @@ toolchain_src_configure() {
                fi
        fi
 
+       if in_iuse ada ; then
+               confgcc+=( $(use_enable ada libada) )
+       fi
+
        if in_iuse cet ; then
                # Usage: triple_arch triple_env cet_name
                enable_cet_for() {

Reply via email to