commit: f71d64562a603ad98cea1b73410a4d75aea49e78 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> AuthorDate: Tue May 20 16:27:09 2025 +0000 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> CommitDate: Tue May 20 16:28:35 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71d6456
app-arch/xz-utils: Add workaround for ld.lld related failure Closes: https://bugs.gentoo.org/956119 See-also: https://github.com/tukaani-project/xz/issues/180 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild b/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild index dbe8c2b3ca06..21133d9dfaa6 100644 --- a/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild +++ b/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild @@ -67,6 +67,11 @@ src_prepare() { src_configure() { use static-libs && lto-guarantee-fat + + if tc-ld-is-lld ; then + export LDFLAGS="${LDFLAGS} -Wl,--undefined-version" + fi + multilib-minimal_src_configure }
