commit:     151fd671f0af2e38da0855079e9e97577c79048e
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 14 08:11:35 2025 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 14 08:12:13 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=151fd671

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

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

Closes: https://bugs.gentoo.org/958037
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 dev-libs/boxfort/boxfort-0.1.4-r2.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/dev-libs/boxfort/boxfort-0.1.4-r2.ebuild 
b/dev-libs/boxfort/boxfort-0.1.4-r2.ebuild
index a09228a2f054..b9758543f2c0 100644
--- a/dev-libs/boxfort/boxfort-0.1.4-r2.ebuild
+++ b/dev-libs/boxfort/boxfort-0.1.4-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit meson
+inherit dot-a meson
 
 DESCRIPTION="Convenient & cross-platform sandboxing C library"
 HOMEPAGE="https://github.com/Snaipe/BoxFort";
@@ -24,6 +24,8 @@ BDEPEND="
 "
 
 src_configure() {
+       lto-guarantee-fat
+
        local emesonargs=(
                $(meson_use test samples)
                $(meson_use test tests)
@@ -31,3 +33,8 @@ src_configure() {
 
        meson_src_configure
 }
+
+src_install() {
+       meson_src_install
+       strip-lto-bytecode
+}

Reply via email to