Accepting request 758126 from devel:tools

- Use -ffat-lto-objects to work around mpers.sh failure (forwarded request 758125 from Andreas_Schwab)

OBS-URL: https://build.opensuse.org/request/show/758126
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/strace?expand=0&rev=80
This commit is contained in:
Dominique Leuenberger 2020-01-01 13:56:17 +00:00 committed by Git OBS Bridge
commit 7a800f529f
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 \