dev-libs/libbsd: restore LLD 17 workaround

Closes: https://bugs.gentoo.org/922342
Bug: https://bugs.gentoo.org/915068
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Sam James
2024-01-21 11:18:08 +00:00
parent 1ae0de0e8d
commit a66e9174d5
2 changed files with 7 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
# Copyright 1999-2023 Gentoo Authors
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -35,6 +35,9 @@ src_prepare() {
}
multilib_src_configure() {
# Broken (still) with lld-17 (bug #922342, bug #915068)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
# bug 911726, https://gitlab.freedesktop.org/libbsd/libbsd/-/issues/26
filter-flags -fno-semantic-interposition

View File

@@ -24,6 +24,9 @@ DEPEND="
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )"
multilib_src_configure() {
# Broken (still) with lld-17 (bug #922342, bug #915068)
append-ldflags $(test-flags-CCLD -Wl,--undefined-version)
# bug #911726
filter-flags -fno-semantic-interposition