Accepting request 1038171 from home:pgajdos

- fix build for ppc64le: use -Wl,--no-as-needed in check-local
  [bsc#1204556]

OBS-URL: https://build.opensuse.org/request/show/1038171
OBS-URL: https://build.opensuse.org/package/show/security/libtpms?expand=0&rev=34
This commit is contained in:
Marcus Meissner 2022-11-25 12:36:24 +00:00 committed by Git OBS Bridge
parent e4822e6c4b
commit f8ab61146f
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Nov 25 10:04:05 UTC 2022 - pgajdos@suse.com
- fix build for ppc64le: use -Wl,--no-as-needed in check-local
[bsc#1204556]
-------------------------------------------------------------------
Sun Apr 10 12:43:58 UTC 2022 - Dirk Müller <dmueller@suse.com>

View File

@ -74,6 +74,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
%fdupes -s %{buildroot}
%check
# fix check-local
# https://bugzilla.suse.com/show_bug.cgi?id=1204556#c9
sed -i "s@\(-L\./\.libs\)@\1 -Wl,--no-as-needed@" src/Makefile
%make_build check
%post -n %{lname} -p /sbin/ldconfig