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:
Eli Schwartz 2025-07-03 18:11:04 -04:00
parent 7801ce6a69
commit db7d5cdc09
No known key found for this signature in database
GPG Key ID: 84A7D12B700D2F57
3 changed files with 12 additions and 3 deletions

View File

@ -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/*

View File

@ -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/*

View File

@ -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/*