mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-05 14:07:27 -08:00
dev-debug/valgrind: use dot-a.eclass
... to avoid installing broken static libraries w/ LTO. Closes: https://bugs.gentoo.org/958412 Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
This commit is contained in:
parent
7801ce6a69
commit
db7d5cdc09
@ -10,7 +10,7 @@ EAPI=8
|
||||
#
|
||||
# Also check the ${PV}_STABLE branch upstream for backports.
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
|
||||
inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
|
||||
|
||||
DESCRIPTION="An open-source memory debugger for GNU/Linux"
|
||||
HOMEPAGE="https://valgrind.org"
|
||||
@ -117,6 +117,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
tc-is-lto && myconf+=( --enable-lto )
|
||||
lto-guarantee-fat
|
||||
|
||||
# Respect ar, bug #468114
|
||||
tc-export AR
|
||||
@ -174,6 +175,8 @@ src_install() {
|
||||
|
||||
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
|
||||
|
||||
strip-lto-bytecode
|
||||
|
||||
# See README_PACKAGERS
|
||||
dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ EAPI=8
|
||||
#
|
||||
# Also check the ${PV}_STABLE branch upstream for backports.
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
|
||||
inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
|
||||
|
||||
DESCRIPTION="An open-source memory debugger for GNU/Linux"
|
||||
HOMEPAGE="https://valgrind.org"
|
||||
@ -120,6 +120,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
tc-is-lto && myconf+=( --enable-lto )
|
||||
lto-guarantee-fat
|
||||
|
||||
# Respect ar, bug #468114
|
||||
tc-export AR
|
||||
@ -177,6 +178,8 @@ src_install() {
|
||||
|
||||
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
|
||||
|
||||
strip-lto-bytecode
|
||||
|
||||
# See README_PACKAGERS
|
||||
dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
|
||||
|
||||
|
||||
@ -10,7 +10,7 @@ EAPI=8
|
||||
#
|
||||
# Also check the ${PV}_STABLE branch upstream for backports.
|
||||
|
||||
inherit autotools flag-o-matic toolchain-funcs multilib pax-utils
|
||||
inherit autotools dot-a flag-o-matic toolchain-funcs multilib pax-utils
|
||||
|
||||
DESCRIPTION="An open-source memory debugger for GNU/Linux"
|
||||
HOMEPAGE="https://valgrind.org"
|
||||
@ -120,6 +120,7 @@ src_configure() {
|
||||
)
|
||||
|
||||
tc-is-lto && myconf+=( --enable-lto )
|
||||
lto-guarantee-fat
|
||||
|
||||
# Respect ar, bug #468114
|
||||
tc-export AR
|
||||
@ -177,6 +178,8 @@ src_install() {
|
||||
|
||||
pax-mark m "${ED}"/usr/$(get_libdir)/valgrind/*-*-linux
|
||||
|
||||
strip-lto-bytecode
|
||||
|
||||
# See README_PACKAGERS
|
||||
dostrip -x /usr/libexec/valgrind/vgpreload* /usr/$(get_libdir)/valgrind/*
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user