Accepting request 758125 from home:Andreas_Schwab:Factory

- Use -ffat-lto-objects to work around mpers.sh failure

OBS-URL: https://build.opensuse.org/request/show/758125
OBS-URL: https://build.opensuse.org/package/show/devel:tools/strace?expand=0&rev=117
This commit is contained in:
Andreas Schwab 2019-12-19 10:27:46 +00:00 committed by Git OBS Bridge
parent 01efe7fa18
commit 582ee11d9d
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Dec 19 10:25:02 UTC 2019 - Andreas Schwab <schwab@suse.de>
- Use -ffat-lto-objects to work around mpers.sh failure
-------------------------------------------------------------------
Fri Nov 29 16:15:19 UTC 2019 - Andreas Schwab <schwab@linux-m68k.org>

View File

@ -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 \