* Spec file: disable LTO for %check (bsc#1133122)

Remove obsolete .obscpio files

OBS-URL: https://build.opensuse.org/package/show/Base:System/multipath-tools?expand=0&rev=223
This commit is contained in:
Martin Wilck 2020-08-25 09:48:04 +00:00 committed by Git OBS Bridge
parent cb955ad2ac
commit 5cc04e352b
5 changed files with 3 additions and 11 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a8347cd41f46fb194c6dde4f5ac17246747012ceafb39c4f5f68ebfbc42043cb
size 2483212

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a1678ef080ae39865920145f2b2aa4343c0c03473914394ea70acb12447b3e73
size 2484236

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cec320d16208b4e679bcedf429f0e9ebac502545b7a8fdcc77023cd281075790
size 2484748

View File

@ -3,6 +3,7 @@ Fri Aug 21 22:28:33 UTC 2020 - mwilck@suse.com
- Update to version 0.8.4+170+suse.801341f:
* libmultipath: tests: fix bitfield tests
* Spec file: disable LTO for %check (bsc#1133122)
-------------------------------------------------------------------
Thu Aug 20 19:20:59 UTC 2020 - mwilck@suse.com

View File

@ -164,8 +164,8 @@ cp %{SOURCE4} .
%check
# ld fails to resolve cmocka's __wrap symbols with -flto
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88643
_opt=$(echo "%optflags" | sed 's/-flto\(=[^ ]*\)\{0,1\}//')
make OPTFLAGS="$_opt" %{_make_output_sync} %{?_smp_mflags} test
%define _lto_cflags %{nil}
make OPTFLAGS="%{optflags}" %{_make_output_sync} %{?_smp_mflags} test
%endif
%install