commit:     39a3781ddc4431b2485852a56a1fe2971fe2b86d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 17 04:07:47 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Feb 17 04:08:09 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39a3781d

toolchain.eclass: disable libada for *-elf and *-eabi

Another attempt after 5ba1230cf8dad63a56381b7f48b3f27737813383.

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

 eclass/toolchain.eclass | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index d09705afd165..b2756524286d 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1450,11 +1450,15 @@ toolchain_src_configure() {
                                ;;
                        *-elf|*-eabi)
                                needed_libc=newlib
-                               # Bare-metal targets don't have access to 
clock_gettime()
-                               # arm-none-eabi example: bug #589672
-                               # But we explicitly do --enable-libstdcxx-time 
above.
-                               # Undoing it here.
-                               confgcc+=( --disable-libstdcxx-time )
+                               confgcc+=(
+                                       # Bare-metal targets don't have access 
to clock_gettime()
+                                       # arm-none-eabi example: bug #589672
+                                       # But we explicitly do 
--enable-libstdcxx-time above.
+                                       # Undoing it here.
+                                       --disable-libstdcxx-time
+                                       # bug #970098
+                                       --disable-libada
+                               )
                                ;;
                        *-gnu*)
                                needed_libc=glibc

Reply via email to