net-misc/networkmanager: Workaround LLD error on musl systems

Bug: https://bugs.gentoo.org/959603
Signed-off-by: Michal Rostecki <vadorovsky@disroot.org>
Part-of: https://github.com/gentoo/gentoo/pull/42890
Closes: https://github.com/gentoo/gentoo/pull/42890
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Michal Rostecki
2025-07-05 21:45:35 +02:00
committed by Sam James
parent 025aec0a9e
commit 07b54d7784

View File

@@ -180,6 +180,9 @@ meson_nm_native_program() {
}
multilib_src_configure() {
# Workaround for LLD on musl systems (bug #959603)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
# LTO is restricted in older clang for unclear reasons.
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/593
# https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2053