summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-21 11:18:08 +0000
committerSam James <sam@gentoo.org>2024-01-21 11:18:08 +0000
commita66e9174d502778cb4f26d46f80a474b2b869ec7 (patch)
tree7bc407ce20d8a2f73406a945be9d4ef3a51cb96b /dev-libs
parentdev-libs/cyberjack: add 3.99.5_p16 (diff)
downloadgentoo-a66e9174d502778cb4f26d46f80a474b2b869ec7.tar.gz
gentoo-a66e9174d502778cb4f26d46f80a474b2b869ec7.tar.bz2
gentoo-a66e9174d502778cb4f26d46f80a474b2b869ec7.zip
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>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/libbsd/libbsd-0.11.7-r2.ebuild5
-rw-r--r--dev-libs/libbsd/libbsd-0.11.8.ebuild3
2 files changed, 7 insertions, 1 deletions
diff --git a/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild b/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
index f90a90c9b119..ad818980639f 100644
--- a/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
+++ b/dev-libs/libbsd/libbsd-0.11.7-r2.ebuild
@@ -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
diff --git a/dev-libs/libbsd/libbsd-0.11.8.ebuild b/dev-libs/libbsd/libbsd-0.11.8.ebuild
index cc7c6d920c58..d873c78482e5 100644
--- a/dev-libs/libbsd/libbsd-0.11.8.ebuild
+++ b/dev-libs/libbsd/libbsd-0.11.8.ebuild
@@ -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