From: Lars Wendler Date: Wed, 13 Nov 2019 13:08:52 +0000 (+0100) Subject: sys-apps/acl: Filter out -flto* in order to get functional binaries X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=080e9741c7df9ab85f4900fc0500821a28f5755f;p=gentoo.git sys-apps/acl: Filter out -flto* in order to get functional binaries Closes: https://bugs.gentoo.org/667372 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler --- diff --git a/sys-apps/acl/acl-2.2.53.ebuild b/sys-apps/acl/acl-2.2.53.ebuild index 97265989420a..0ba85a555158 100644 --- a/sys-apps/acl/acl-2.2.53.ebuild +++ b/sys-apps/acl/acl-2.2.53.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit libtool ltprune toolchain-funcs multilib-minimal usr-ldscript +inherit flag-o-matic libtool ltprune toolchain-funcs multilib-minimal usr-ldscript DESCRIPTION="access control list utilities, libraries and headers" HOMEPAGE="https://savannah.nongnu.org/projects/acl" @@ -20,6 +20,12 @@ RDEPEND=" DEPEND="${RDEPEND} nls? ( sys-devel/gettext )" +pkg_setup() { + # filter out -flto flags as they break getfacl/setfacl binaries + # (bug #667372) + filter-flags -flto* +} + src_prepare() { default elibtoolize #580792