From dad013ae4be7f338feee4abb476a4cc97a38f512 Mon Sep 17 00:00:00 2001 From: Sam James Date: Tue, 6 May 2025 18:52:30 +0100 Subject: [PATCH] dev-libs/boehm-gc: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Signed-off-by: Sam James --- dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild b/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild index c915752a7a69f..009372bacf0c1 100644 --- a/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild +++ b/dev-libs/boehm-gc/boehm-gc-8.2.8.ebuild @@ -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 }