Closes: https://bugs.gentoo.org/667372
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
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"
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