commit:     39e2f65996e0c3605a8cfb49dd3ef5cbb09ddfed
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 21:09:18 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 05:35:34 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e2f659

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 <eschwartz <AT> gentoo.org>

 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 c5a7326957c3..0b106919d1d8 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}
 

Reply via email to