summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-11-13 14:23:02 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-11-13 14:23:19 +0100
commitd63097786533e6391deab70cef3150e59324cb8c (patch)
tree085d5e13a747da2f64fddfbc41a50c17d9774e09 /sys-apps
parentdev-libs/libgcrypt: ia64 stable wrt bug #693108 (diff)
downloadgentoo-d63097786533e6391deab70cef3150e59324cb8c.tar.gz
gentoo-d63097786533e6391deab70cef3150e59324cb8c.tar.bz2
gentoo-d63097786533e6391deab70cef3150e59324cb8c.zip
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 <polynomial-c@gentoo.org>
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/attr/attr-2.4.48-r3.ebuild7
1 files changed, 6 insertions, 1 deletions
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