commit:     d894388b219eeb0e249e79e85d215707ee81eb7b
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  7 15:01:22 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  7 16:41:31 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d894388b

dev-libs/libbulletml: use dot-a.eclass

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

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

 dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild 
b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
index dc0b66e314e4..2bc4fca3e7bd 100644
--- a/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
+++ b/dev-libs/libbulletml/libbulletml-0.0.6-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit toolchain-funcs
+inherit dot-a toolchain-funcs
 
 DESCRIPTION="A Library of Bullet Markup Language"
 HOMEPAGE="https://shinh.skr.jp/libbulletml/index_en.html";
@@ -30,10 +30,12 @@ src_prepare() {
 
 src_configure() {
        tc-export AR CXX
+       lto-guarantee-fat
 }
 
 src_install() {
        dolib.a libbulletml.a
+       strip-lto-bytecode
 
        insinto /usr/include/bulletml
        doins *.h

Reply via email to