- Disable LTO as it causes random build failures on some

architectures (bsc#1164297)

OBS-URL: https://build.opensuse.org/package/show/hardware/lshw?expand=0&rev=36
This commit is contained in:
Martin Pluskal 2020-02-20 08:16:29 +00:00 committed by Git OBS Bridge
parent b34157a82f
commit 4736c42966
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Thu Feb 20 08:15:44 UTC 2020 - Martin Pluskal <mpluskal@suse.com>
- Disable LTO as it causes random build failures on some
architectures (bsc#1164297)
-------------------------------------------------------------------
Fri Feb 7 10:50:13 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>

View File

@ -82,6 +82,7 @@ http://www.ezix.org/software/lshw.html
%autosetup -p1
%build
%define _lto_cflags %{nil}
%make_build \
SBINDIR="%{_sbindir}" \
RPM_OPT_FLAGS="%{optflags} -fno-strict-aliasing" \