From 080e9741c7df9ab85f4900fc0500821a28f5755f Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 13 Nov 2019 14:08:52 +0100 Subject: [PATCH] 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 --- sys-apps/acl/acl-2.2.53.ebuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 -- 2.26.2