commit: a5d5bf7ce6d2f77349add29c0aa1eea3934a8527 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Mon Aug 11 00:20:11 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Mon Aug 11 05:35:37 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5d5bf7c
games-util/glbsp: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958309 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> games-util/glbsp/glbsp-2.24-r2.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/games-util/glbsp/glbsp-2.24-r2.ebuild b/games-util/glbsp/glbsp-2.24-r2.ebuild index e9e5a7272bad..bce5511daf0d 100644 --- a/games-util/glbsp/glbsp-2.24-r2.ebuild +++ b/games-util/glbsp/glbsp-2.24-r2.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit desktop toolchain-funcs +inherit desktop dot-a toolchain-funcs MY_PV=$(ver_rs 1 '') DESCRIPTION="Node builder specially designed for OpenGL ports of the DOOM game engine" @@ -27,6 +27,8 @@ PATCHES=( src_prepare() { default + lto-guarantee-fat + sed -i \ -e "/^CC=/s:=.*:=$(tc-getCC):" \ -e "/^CXX=/s:=.*:=$(tc-getCXX):" \ @@ -67,4 +69,6 @@ src_install() { docinto nodeview dodoc nodeview/{README,TODO}.txt fi + + strip-lto-bytecode }
