From d63097786533e6391deab70cef3150e59324cb8c Mon Sep 17 00:00:00 2001 From: Lars Wendler Date: Wed, 13 Nov 2019 14:23:02 +0100 Subject: [PATCH] sys-apps/attr: Filter out -flto* in order to get functional binaries Bug: https://bugs.gentoo.org/644048 Package-Manager: Portage-2.3.79, Repoman-2.3.18 Signed-off-by: Lars Wendler --- sys-apps/attr/attr-2.4.48-r3.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/sys-apps/attr/attr-2.4.48-r3.ebuild b/sys-apps/attr/attr-2.4.48-r3.ebuild index 15333e644dad..555211e905e7 100644 --- a/sys-apps/attr/attr-2.4.48-r3.ebuild +++ b/sys-apps/attr/attr-2.4.48-r3.ebuild @@ -3,7 +3,7 @@ EAPI="6" -inherit libtool toolchain-funcs multilib-minimal usr-ldscript +inherit flag-o-matic libtool toolchain-funcs multilib-minimal usr-ldscript DESCRIPTION="Extended attributes tools" HOMEPAGE="https://savannah.nongnu.org/projects/attr" @@ -21,6 +21,11 @@ PATCHES=( "${FILESDIR}/${P}-switch-back-to-syscall.patch" ) +pkg_setup() { + # Remove -flto* from flags as this breaks binaries (bug #644048) + filter-flags -flto* +} + src_prepare() { default elibtoolize #580792 -- 2.26.2