diff options
author | Sam James <sam@gentoo.org> | 2024-04-25 09:53:05 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-04-25 09:54:03 +0100 |
commit | 6ada69a5bb8289f32d04b3eeaf354b2e089692b5 (patch) | |
tree | 082c1b244542aed24bb7edb641b58350d3093f8c /dev-debug | |
parent | dev-vcs/git: add 2.45.0_rc1, sync live (diff) | |
download | gentoo-6ada69a5bb8289f32d04b3eeaf354b2e089692b5.tar.gz gentoo-6ada69a5bb8289f32d04b3eeaf354b2e089692b5.tar.bz2 gentoo-6ada69a5bb8289f32d04b3eeaf354b2e089692b5.zip |
dev-debug/valgrind: stop filtering LTO
mjw pointed out that Valgrind has a --enable-lto configure arg but it also
seems to work well nowadays. Valgrind is a special-case so use it.
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-debug')
-rw-r--r-- | dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild | 3 | ||||
-rw-r--r-- | dev-debug/valgrind/valgrind-9999.ebuild | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild b/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild index 312c4f8b724e..5a073f147105 100644 --- a/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild +++ b/dev-debug/valgrind/valgrind-3.23.0_rc2.ebuild @@ -75,6 +75,8 @@ src_configure() { --with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load ) + tc-is-lto && myconf+=( --enable-lto ) + # Respect ar, bug #468114 tc-export AR @@ -87,7 +89,6 @@ src_configure() { # -fstack-protector-strong See -fstack-protector (bug #620402) # -m64 -mx32 for multilib-portage, bug #398825 # -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line') - # -flto* fails to build, bug #858509 filter-flags -fomit-frame-pointer filter-flags -fstack-protector filter-flags -fstack-protector-all diff --git a/dev-debug/valgrind/valgrind-9999.ebuild b/dev-debug/valgrind/valgrind-9999.ebuild index 312c4f8b724e..5a073f147105 100644 --- a/dev-debug/valgrind/valgrind-9999.ebuild +++ b/dev-debug/valgrind/valgrind-9999.ebuild @@ -75,6 +75,8 @@ src_configure() { --with-gdbscripts-dir="${EPREFIX}"/usr/share/gdb/auto-load ) + tc-is-lto && myconf+=( --enable-lto ) + # Respect ar, bug #468114 tc-export AR @@ -87,7 +89,6 @@ src_configure() { # -fstack-protector-strong See -fstack-protector (bug #620402) # -m64 -mx32 for multilib-portage, bug #398825 # -fharden-control-flow-redundancy: breaks runtime ('jump to the invalid address stated on the next line') - # -flto* fails to build, bug #858509 filter-flags -fomit-frame-pointer filter-flags -fstack-protector filter-flags -fstack-protector-all |