summaryrefslogtreecommitdiff
path: root/eclass/toolchain.eclass
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass6
1 files changed, 5 insertions, 1 deletions
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