mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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@gentoo.org>
This commit is contained in:
committed by
Lars Wendler
parent
513a3ec240
commit
ea36cc2c63
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user