commit:     ec1fa1cf53555383a9d8e7eec85530f0ec92b139
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 11 03:48:38 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 05:35:38 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec1fa1cf

dev-scheme/chez: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958432
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 dev-scheme/chez/chez-10.2.0.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-scheme/chez/chez-10.2.0.ebuild 
b/dev-scheme/chez/chez-10.2.0.ebuild
index 7bbbca3ca75e..7db20e4d6352 100644
--- a/dev-scheme/chez/chez-10.2.0.ebuild
+++ b/dev-scheme/chez/chez-10.2.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit edo toolchain-funcs
+inherit dot-a edo toolchain-funcs
 
 DESCRIPTION="A programming language based on R6RS"
 HOMEPAGE="https://cisco.github.io/ChezScheme/
@@ -76,6 +76,8 @@ src_configure() {
        )
        local machine="$(usex threads 't' '')${arch_map[${ARCH}]}le"
 
+       lto-guarantee-fat
+
        local -a myconfargs=(
                --machine="${machine}"
                --libkernel
@@ -114,5 +116,6 @@ src_install() {
        sed -e "s|TempRoot=.*|TempRoot=${ED}|g" -i ./*/Mf-* || die
 
        emake install
+       strip-lto-bytecode
        einstalldocs
 }

Reply via email to