commit: 0f004ec16ef32f861f48b9e911b4bada1263689a Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Jul 24 01:35:06 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Thu Jul 24 04:50:13 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f004ec1
dev-util/schroot: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/959485 Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org> dev-util/schroot/schroot-1.6.13_p7.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/dev-util/schroot/schroot-1.6.13_p7.ebuild b/dev-util/schroot/schroot-1.6.13_p7.ebuild index d369d52facbe..b5025fc42780 100644 --- a/dev-util/schroot/schroot-1.6.13_p7.ebuild +++ b/dev-util/schroot/schroot-1.6.13_p7.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit bash-completion-r1 cmake pam tmpfiles +inherit bash-completion-r1 cmake dot-a pam tmpfiles MY_P=${PN}_${PV/_p/-} @@ -71,6 +71,8 @@ src_prepare() { } src_configure() { + lto-guarantee-fat + local mycmakeargs=( -Dbtrfs-snapshot=$(usex btrfs) -Ddchroot=$(usex dchroot) @@ -113,6 +115,8 @@ src_test() { src_install() { cmake_src_install + strip-lto-bytecode + # debian-stype PS1 for chroot # checks for /etc/debian_chroot file, which is created by schroot insinto /etc/bash/bashrc.d
