summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-01-18 17:50:46 +0000
committerSam James <sam@gentoo.org>2024-01-18 17:52:27 +0000
commit56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df (patch)
tree62304596f2f27d688f6ceeee2e82d92cd78e0bbd /dev-libs/libbsd
parentmedia-video/pipewire: drop filter-flags for -fno-semantic-interposition (diff)
downloadgentoo-56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df.tar.gz
gentoo-56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df.tar.bz2
gentoo-56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df.zip
dev-libs/libbsd: filter -fno-semantic-interposition again
It's needed for LTO at least. Bug: https://bugs.gentoo.org/911726 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/libbsd')
-rw-r--r--dev-libs/libbsd/libbsd-0.11.8.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-libs/libbsd/libbsd-0.11.8.ebuild b/dev-libs/libbsd/libbsd-0.11.8.ebuild
index b86e24710246..cc7c6d920c58 100644
--- a/dev-libs/libbsd/libbsd-0.11.8.ebuild
+++ b/dev-libs/libbsd/libbsd-0.11.8.ebuild
@@ -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,9 @@ DEPEND="
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-guillemjover )"
multilib_src_configure() {
+ # 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