app-arch/xz-utils: Sync with Gentoo

It's from Gentoo commit bacb12921d47957381ff0f26dd57c141f9732771.

Signed-off-by: Flatcar Buildbot <buildbot@flatcar-linux.org>
This commit is contained in:
Flatcar Buildbot 2025-09-22 07:05:57 +00:00 committed by Krzesimir Nowak
parent 119ae89545
commit 09972170ac

View File

@ -68,9 +68,7 @@ src_prepare() {
src_configure() {
use static-libs && lto-guarantee-fat
if tc-ld-is-lld ; then
export LDFLAGS="${LDFLAGS} -Wl,--undefined-version"
fi
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
multilib-minimal_src_configure
}