dev-libs/boehm-gc: use dot-a.eclass

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

Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2025-05-06 18:52:30 +01:00
parent f3bd66f5e7
commit dad013ae4b
+9 -2
View File
@@ -1,9 +1,9 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib-minimal libtool
inherit dot-a multilib-minimal libtool
MY_P="gc-${PV}"
@@ -31,6 +31,11 @@ src_prepare() {
elibtoolize
}
src_configure() {
lto-guarantee-fat
multilib-minimal_src_configure
}
multilib_src_configure() {
local config=(
--disable-docs
@@ -53,4 +58,6 @@ multilib_src_install_all() {
find "${ED}" -name '*.la' -delete || die
newman doc/gc.man GC_malloc.1
strip-lto-bytecode
}