summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-07-20 01:07:20 +0100
committerSam James <sam@gentoo.org>2023-07-20 01:07:45 +0100
commit9686580f1317fa20a8090d55bfe1cba102cfb0d1 (patch)
treec65ae4fc4c84c1e409c52c9c53df21e6aeabe2f5 /eclass
parentdev-libs/elfutils: drop 0.189-r2 (diff)
downloadgentoo-9686580f1317fa20a8090d55bfe1cba102cfb0d1.tar.gz
gentoo-9686580f1317fa20a8090d55bfe1cba102cfb0d1.tar.bz2
gentoo-9686580f1317fa20a8090d55bfe1cba102cfb0d1.zip
toolchain.eclass: disable gcov for cross
I don't see an immediate way to only disable this for crossdev stage1, so just disable it entirely for cross for now. Bug: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r--eclass/toolchain.eclass8
1 files changed, 7 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index dabdd3a8f4fa..ed6692ca8dea 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -998,7 +998,13 @@ toolchain_src_configure() {
fi
fi
- confgcc+=( --disable-bootstrap )
+ confgcc+=(
+ # https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100289
+ # TOOD: Find a way to disable this just for stage1 cross?
+ --disable-gcov
+
+ --disable-bootstrap
+ )
else
if tc-is-static-only ; then
confgcc+=( --disable-shared )