diff options
author | Sam James <sam@gentoo.org> | 2023-07-20 01:07:20 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-07-20 01:07:45 +0100 |
commit | 9686580f1317fa20a8090d55bfe1cba102cfb0d1 (patch) | |
tree | c65ae4fc4c84c1e409c52c9c53df21e6aeabe2f5 /eclass | |
parent | dev-libs/elfutils: drop 0.189-r2 (diff) | |
download | gentoo-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.eclass | 8 |
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 ) |