diff --git a/strace.changes b/strace.changes index 8e23010..5f04587 100644 --- a/strace.changes +++ b/strace.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 19 10:25:02 UTC 2019 - Andreas Schwab + +- Use -ffat-lto-objects to work around mpers.sh failure + ------------------------------------------------------------------- Fri Nov 29 16:15:19 UTC 2019 - Andreas Schwab diff --git a/strace.spec b/strace.spec index 4388ea2..2d026fa 100644 --- a/strace.spec +++ b/strace.spec @@ -60,8 +60,10 @@ and processes can be seen. Child processes can also be tracked. %setup -q %build -# LTO breaks mpers.sh -%global _lto_cflags %{nil} +# Make sure LTO doesn't break mpers.sh +%if "%{?_lto_cflags}" != "" +%global _lto_cflags %{_lto_cflags} -ffat-lto-objects +%endif %configure \ %ifarch aarch64 --disable-mpers \