1 |
commit: 080e9741c7df9ab85f4900fc0500821a28f5755f |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Nov 13 13:08:52 2019 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Nov 13 13:16:08 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=080e9741 |
7 |
|
8 |
sys-apps/acl: Filter out -flto* in order to get functional binaries |
9 |
|
10 |
Closes: https://bugs.gentoo.org/667372 |
11 |
Package-Manager: Portage-2.3.79, Repoman-2.3.18 |
12 |
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org> |
13 |
|
14 |
sys-apps/acl/acl-2.2.53.ebuild | 8 +++++++- |
15 |
1 file changed, 7 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/sys-apps/acl/acl-2.2.53.ebuild b/sys-apps/acl/acl-2.2.53.ebuild |
18 |
index 97265989420..0ba85a55515 100644 |
19 |
--- a/sys-apps/acl/acl-2.2.53.ebuild |
20 |
+++ b/sys-apps/acl/acl-2.2.53.ebuild |
21 |
@@ -3,7 +3,7 @@ |
22 |
|
23 |
EAPI="6" |
24 |
|
25 |
-inherit libtool ltprune toolchain-funcs multilib-minimal usr-ldscript |
26 |
+inherit flag-o-matic libtool ltprune toolchain-funcs multilib-minimal usr-ldscript |
27 |
|
28 |
DESCRIPTION="access control list utilities, libraries and headers" |
29 |
HOMEPAGE="https://savannah.nongnu.org/projects/acl" |
30 |
@@ -20,6 +20,12 @@ RDEPEND=" |
31 |
DEPEND="${RDEPEND} |
32 |
nls? ( sys-devel/gettext )" |
33 |
|
34 |
+pkg_setup() { |
35 |
+ # filter out -flto flags as they break getfacl/setfacl binaries |
36 |
+ # (bug #667372) |
37 |
+ filter-flags -flto* |
38 |
+} |
39 |
+ |
40 |
src_prepare() { |
41 |
default |
42 |
elibtoolize #580792 |