commit: c76f0551146d1229036a626478ba17c01ee4c185 Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Thu Jun 12 10:21:37 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Thu Jun 12 10:55:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c76f0551
media-libs/zint: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. There is build switch for static libraries, but it doesn't apply to all static libraries and it would require a revbump to add. Closes: https://bugs.gentoo.org/957922 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/42558 Closes: https://github.com/gentoo/gentoo/pull/42558 Signed-off-by: Sam James <sam <AT> gentoo.org> media-libs/zint/zint-2.15.0.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/media-libs/zint/zint-2.15.0.ebuild b/media-libs/zint/zint-2.15.0.ebuild index f9e83c738ed1..58cf089d284f 100644 --- a/media-libs/zint/zint-2.15.0.ebuild +++ b/media-libs/zint/zint-2.15.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake desktop xdg +inherit cmake desktop dot-a xdg DESCRIPTION="Barcode encoding library supporting over 50 symbologies" HOMEPAGE="https://www.zint.org.uk/" @@ -32,6 +32,8 @@ DEPEND=" RDEPEND="${DEPEND}" src_configure() { + lto-guarantee-fat + local mycmakeargs=( -DZINT_FRONTEND=ON -DZINT_QT6=$(usex gui) @@ -55,4 +57,6 @@ src_install() { domenu zint-qt.desktop doicon zint-qt.png fi + + strip-lto-bytecode }