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 }