From 06fc3212101489bb9469bc677bd8786e209ac9f1 Mon Sep 17 00:00:00 2001 From: Mark Wielaard Date: Apr 25 2024 11:48:20 +0000 Subject: 3.23.0-0.2.RC2 - configure --enable-lto --- diff --git a/valgrind.spec b/valgrind.spec index 67acdcc..f86136a 100644 --- a/valgrind.spec +++ b/valgrind.spec @@ -3,7 +3,7 @@ Summary: Dynamic analysis tools to detect memory or thread bugs and profile Name: %{?scl_prefix}valgrind Version: 3.23.0 -Release: 0.1.RC2%{?dist} +Release: 0.2.RC2%{?dist} Epoch: 1 # This ignores licenses that are only found in the test or perf sources @@ -225,9 +225,8 @@ Valgrind User Manual for details. %build -# LTO triggers undefined symbols in valgrind. Valgrind has a --enable-lto -# configure time option, but that doesn't seem to help. -# Disable LTO for now. +# LTO triggers undefined symbols in valgrind. But valgrind has a +# --enable-lto configure time option that we will use instead. %define _lto_cflags %{nil} # Some patches (might) touch Makefile.am or configure.ac files. @@ -288,7 +287,8 @@ export LDFLAGS --with-mpicc=%{mpiccpath} \ %{only_arch} \ GDB=%{_bindir}/gdb \ - --with-gdbscripts-dir=%{_datadir}/gdb/auto-load + --with-gdbscripts-dir=%{_datadir}/gdb/auto-load \ + --enable-lto %make_build @@ -439,7 +439,10 @@ echo ===============END TESTING=============== %endif %changelog -* Wed Apr 25 2024 Mark Wielaard - 3.23.0-0.1.RC2 +* Thu Apr 25 2024 Mark Wielaard - 3.23.0-0.2.RC2 +- configure --enable-lto + +* Wed Apr 24 2024 Mark Wielaard - 3.23.0-0.1.RC2 - Upstream 3.23.0-RC2 * Sat Apr 20 2024 Mark Wielaard - 3.23.0-0.1.RC1