From 39e2f65996e0c3605a8cfb49dd3ef5cbb09ddfed Mon Sep 17 00:00:00 2001 From: Eli Schwartz Date: Sun, 10 Aug 2025 17:09:18 -0400 Subject: [PATCH] dev-tcltk/itcl: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/957999 Signed-off-by: Eli Schwartz --- dev-tcltk/itcl/itcl-4.3.1.ebuild | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dev-tcltk/itcl/itcl-4.3.1.ebuild b/dev-tcltk/itcl/itcl-4.3.1.ebuild index c5a7326957c30..0b106919d1d87 100644 --- a/dev-tcltk/itcl/itcl-4.3.1.ebuild +++ b/dev-tcltk/itcl/itcl-4.3.1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit autotools +inherit autotools dot-a MYP="${PN}-$(ver_rs 1- '-')" @@ -37,6 +37,7 @@ src_prepare() { } src_configure() { + lto-guarantee-fat econf \ --with-tcl="${EPREFIX}"/usr/$(get_libdir) \ --with-tclinclude="${EPREFIX}"/usr/include \ @@ -58,6 +59,7 @@ src_compile() { src_install() { default + strip-lto-bytecode local MY_P=${PN}${PV}