From c49a4f8976fc8a8d4d81b52c906e25043b5d698f Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 17 Jun 2025 04:42:54 -0400 Subject: [PATCH] x11-libs/fltk: use dot-a.eclass (old 1.3.x has a unconditional filter-lto, so won't bother touching) Closes: https://bugs.gentoo.org/958298 Signed-off-by: Ionen Wolkens --- x11-libs/fltk/{fltk-1.4.3.ebuild => fltk-1.4.3-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) rename x11-libs/fltk/{fltk-1.4.3.ebuild => fltk-1.4.3-r1.ebuild} (97%) diff --git a/x11-libs/fltk/fltk-1.4.3.ebuild b/x11-libs/fltk/fltk-1.4.3-r1.ebuild similarity index 97% rename from x11-libs/fltk/fltk-1.4.3.ebuild rename to x11-libs/fltk/fltk-1.4.3-r1.ebuild index 4bb7cd29d552c..77b791d2a5451 100644 --- a/x11-libs/fltk/fltk-1.4.3.ebuild +++ b/x11-libs/fltk/fltk-1.4.3-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake edo xdg +inherit cmake dot-a edo xdg DESCRIPTION="Fast Light GUI Toolkit" HOMEPAGE="https://www.fltk.org/" @@ -74,6 +74,8 @@ src_prepare() { } src_configure() { + lto-guarantee-fat + local mycmakeargs=( -DFLTK_BACKEND_WAYLAND=$(usex wayland) -DFLTK_BACKEND_X11=$(usex X) @@ -111,4 +113,6 @@ src_install() { # currently no option to disable building static libs use static-libs || rm -- "${ED}"/usr/$(get_libdir)/*.a || die + + strip-lto-bytecode }