mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 06:31:18 +02:00
dev-libs/libbsd: Sync with Gentoo
It's from Gentoo commit a66e9174d502778cb4f26d46f80a474b2b869ec7.
This commit is contained in:
parent
ba6c1af479
commit
884e2f9ed0
@ -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
|
||||
|
||||
|
@ -4,7 +4,7 @@
|
||||
EAPI=8
|
||||
|
||||
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/guillemjover.asc
|
||||
inherit multilib multilib-minimal verify-sig
|
||||
inherit flag-o-matic multilib multilib-minimal verify-sig
|
||||
|
||||
DESCRIPTION="Library to provide useful functions commonly found on BSD systems"
|
||||
HOMEPAGE="https://libbsd.freedesktop.org/wiki/ https://gitlab.freedesktop.org/libbsd/libbsd"
|
||||
@ -24,6 +24,12 @@ 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
|
||||
|
||||
# The build system will install libbsd-ctor.a despite USE="-static-libs"
|
||||
# which is correct, see:
|
||||
# https://gitlab.freedesktop.org/libbsd/libbsd/commit/c5b959028734ca2281250c85773d9b5e1d259bc8
|
||||
|
Loading…
x
Reference in New Issue
Block a user