commit: c49a4f8976fc8a8d4d81b52c906e25043b5d698f Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Tue Jun 17 08:42:54 2025 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Tue Jun 17 08:46:42 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c49a4f89
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 <ionen <AT> gentoo.org> x11-libs/fltk/{fltk-1.4.3.ebuild => fltk-1.4.3-r1.ebuild} | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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 4bb7cd29d552..77b791d2a545 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 }
