diff --git a/sdk_container/src/third_party/portage-stable/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild b/sdk_container/src/third_party/portage-stable/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild index 2e4838d8cd..ce4cf91ed4 100644 --- a/sdk_container/src/third_party/portage-stable/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild +++ b/sdk_container/src/third_party/portage-stable/app-arch/xz-utils/xz-utils-5.8.1-r1.ebuild @@ -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 }