commit: dad013ae4be7f338feee4abb476a4cc97a38f512
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue May 6 17:52:30 2025 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue May 6 17:52:30 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dad013ae
dev-libs/boehm-gc: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO.
Signed-off-by: Sam James <sam <AT> gentoo.org>
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 c915752a7a69..009372bacf0c 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
}