commit: db7d5cdc0904d236cd8bbf8d64f71599a63572f3 Author: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> AuthorDate: Thu Jul 3 22:11:04 2025 +0000 Commit: Eli Schwartz <eschwartz <AT> gentoo <DOT> org> CommitDate: Fri Jul 4 03:21:41 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db7d5cdc
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 <AT> gentoo.org> dev-debug/valgrind/valgrind-3.24.0_p3.ebuild | 5 ++++- dev-debug/valgrind/valgrind-3.25.1.ebuild | 5 ++++- dev-debug/valgrind/valgrind-9999.ebuild | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild index af3eabd2e04b..417a87c7bc03 100644 --- a/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild +++ b/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild @@ -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/* diff --git a/dev-debug/valgrind/valgrind-3.25.1.ebuild b/dev-debug/valgrind/valgrind-3.25.1.ebuild index 1461530b6296..7603169acd71 100644 --- a/dev-debug/valgrind/valgrind-3.25.1.ebuild +++ b/dev-debug/valgrind/valgrind-3.25.1.ebuild @@ -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/* diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild index fabc10e80fda..ce3b98be085d 100644 --- a/dev-debug/valgrind/valgrind-9999.ebuild +++ b/dev-debug/valgrind/valgrind-9999.ebuild @@ -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/*
