commit:     39c75c6d4be04166f7984dea2fdb350bd00d7239
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 16 15:24:53 2026 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar 16 15:24:53 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39c75c6d

toolchain.eclass: disable systemtap for cross

Same rationale as 7c8f76d4af9313f622992a0c9e94f8b686571111.

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

 eclass/toolchain.eclass | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index da25e1dfc5b2..cad0a7203d2b 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1803,7 +1803,11 @@ toolchain_src_configure() {
        fi
 
        if in_iuse systemtap ; then
-               confgcc+=( $(use_enable systemtap) )
+               if is_crosscompile ; then
+                       confgcc+=( --disable-systemtap )
+               else
+                       confgcc+=( $(use_enable systemtap) )
+               fi
        fi
 
        if in_iuse valgrind ; then

Reply via email to