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@gentoo.org>
This commit is contained in:
Eli Schwartz
2025-08-10 23:48:38 -04:00
parent a1f9f0f0ce
commit ec1fa1cf53

View File

@@ -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
}