From f8ab61146ffa7844a99076299a095028e3ca8bcf0835acf1049fd4a85bab2c89 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 25 Nov 2022 12:36:24 +0000 Subject: [PATCH] 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 --- libtpms.changes | 6 ++++++ libtpms.spec | 3 +++ 2 files changed, 9 insertions(+) diff --git a/libtpms.changes b/libtpms.changes index 54534e1..7aeae38 100644 --- a/libtpms.changes +++ b/libtpms.changes @@ -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 diff --git a/libtpms.spec b/libtpms.spec index 4b5c77e..592b08f 100644 --- a/libtpms.spec +++ b/libtpms.spec @@ -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