diff options
Diffstat (limited to 'sys-apps/attr/attr-2.4.48-r3.ebuild')
-rw-r--r-- | sys-apps/attr/attr-2.4.48-r3.ebuild | 10 |
1 files changed, 8 insertions, 2 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..c5ed52072cc3 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" @@ -11,7 +11,7 @@ SRC_URI="mirror://nongnu/${PN}/${P}.tar.gz" LICENSE="LGPL-2.1" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" IUSE="debug nls static-libs" DEPEND="nls? ( sys-devel/gettext )" @@ -21,6 +21,12 @@ PATCHES=( "${FILESDIR}/${P}-switch-back-to-syscall.patch" ) +pkg_setup() { + # Remove -flto* from flags as this breaks binaries (bug #644048) + filter-flags -flto* + append-ldflags "-Wl,--no-gc-sections" #700116 +} + src_prepare() { default elibtoolize #580792 |