From 56a35e4b73fec0427ef1ecbb1791f8e3c49dd9df Mon Sep 17 00:00:00 2001 From: Sam James Date: Thu, 18 Jan 2024 17:50:46 +0000 Subject: 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 --- dev-libs/libbsd/libbsd-0.11.8.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'dev-libs/libbsd') 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 -- cgit v1.2.3-65-gdbad