Accepting request 796551 from home:michel_mno:branches:hardware

- Disable LTO for aarch64 & PowerPC, bypass boo#1168865

OBS-URL: https://build.opensuse.org/request/show/796551
OBS-URL: https://build.opensuse.org/package/show/hardware/lshw?expand=0&rev=42
This commit is contained in:
Martin Pluskal 2020-04-23 14:41:00 +00:00 committed by Git OBS Bridge
parent ddfbd2ada2
commit 1d5563bccd
2 changed files with 11 additions and 0 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Thu Apr 23 12:16:28 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
- Disable LTO for aarch64 & PowerPC, bypass boo#1168865
-------------------------------------------------------------------
Mon Mar 30 06:49:19 UTC 2020 - Martin Pluskal <mpluskal@suse.com>

View File

@ -77,6 +77,12 @@ http://www.ezix.org/software/lshw.html
%autosetup
%build
%ifarch ppc64 ppc64le aarch64
# Disable LTO for specified arches, bypass bug
# https://bugzilla.opensuse.org/show_bug.cgi?id=1168865
%define _lto_cflags %{nil}
%endif
%make_build \
SBINDIR="%{_sbindir}" \
RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \