diff --git a/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild b/dev-debug/valgrind/valgrind-3.24.0_p3.ebuild index af3eabd2e04b2..417a87c7bc039 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 1461530b6296f..7603169acd712 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 fabc10e80fda7..ce3b98be085d6 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/*