commit:     8dfc24eb0d61b829db0b86b50c72df0c356f160d
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Sun Aug 10 20:43:10 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Mon Aug 11 05:35:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8dfc24eb

dev-tcltk/togl: use dot-a.eclass

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

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

 dev-tcltk/togl/togl-2.0-r5.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-tcltk/togl/togl-2.0-r5.ebuild 
b/dev-tcltk/togl/togl-2.0-r5.ebuild
index 1472c2a4f814..5690760bba17 100644
--- a/dev-tcltk/togl/togl-2.0-r5.ebuild
+++ b/dev-tcltk/togl/togl-2.0-r5.ebuild
@@ -3,6 +3,8 @@
 
 EAPI=8
 
+inherit dot-a
+
 MY_P=Togl${PV}
 
 DESCRIPTION="A Tk widget for OpenGL rendering"
@@ -42,6 +44,7 @@ src_prepare() {
 }
 
 src_configure() {
+       lto-guarantee-fat
        econf \
                $(use_enable debug symbols) \
                $(use_enable threads)
@@ -50,4 +53,5 @@ src_configure() {
 src_install() {
        HTML_DOCS=( doc/* )
        default
+       strip-lto-bytecode
 }

Reply via email to