From a30dbd8bb57907ed47844c1f86e7283869d96a9c Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 10 Aug 2025 19:47:45 -0400 Subject: [PATCH] dev-tcltk/tclxml: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958240 Signed-off-by: Eli Schwartz --- dev-tcltk/tclxml/tclxml-3.3.1-r3.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dev-tcltk/tclxml/tclxml-3.3.1-r3.ebuild b/dev-tcltk/tclxml/tclxml-3.3.1-r3.ebuild index 6a44edd7c002..eebae2d10c92 100644 --- a/dev-tcltk/tclxml/tclxml-3.3.1-r3.ebuild +++ b/dev-tcltk/tclxml/tclxml-3.3.1-r3.ebuild @@ -3,6 +3,8 @@ EAPI=8 +inherit dot-a + MYPN=TclXML MYP=${MYPN}-${PV} @@ -38,6 +40,7 @@ PATCHES=( ) src_configure() { + lto-guarantee-fat local myconf="" use threads && myconf="${myconf} --enable-threads" @@ -50,3 +53,8 @@ src_configure() { $(use_enable amd64 64bit) \ $(use_enable debug symbols) } + +src_install() { + default + strip-lto-bytecode +}