diff options
Diffstat (limited to 'sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild')
-rw-r--r-- | sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild index aadddc16912a..4e9c2fb26ca2 100644 --- a/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild +++ b/sys-libs/libxcrypt/libxcrypt-4.4.28-r2.ebuild @@ -129,6 +129,13 @@ src_configure() { # https://github.com/besser82/libxcrypt/issues/24 filter-lto + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + multibuild_foreach_variant multilib-minimal_src_configure } |