commit:     ea36cc2c63ab6c06e1851dc44189e64109e1717d
Author:     Alexander Tsoy <alexander <AT> tsoy <DOT> me>
AuthorDate: Fri Nov 15 23:07:54 2019 +0000
Commit:     Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 23:08:30 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea36cc2c

sys-apps/attr: Add --no-gc-sections to linker flags

Bug: https://bugs.gentoo.org/700116
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>

 sys-apps/attr/attr-2.4.48-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/sys-apps/attr/attr-2.4.48-r3.ebuild 
b/sys-apps/attr/attr-2.4.48-r3.ebuild
index 1c55fe11bd6..c5ed52072cc 100644
--- a/sys-apps/attr/attr-2.4.48-r3.ebuild
+++ b/sys-apps/attr/attr-2.4.48-r3.ebuild
@@ -24,6 +24,7 @@ PATCHES=(
 pkg_setup() {
        # Remove -flto* from flags as this breaks binaries (bug #644048)
        filter-flags -flto*
+       append-ldflags "-Wl,--no-gc-sections" #700116
 }
 
 src_prepare() {

Reply via email to