Undefine _ld_as_needed to fix underlinking issue (BZ 2058840)

This commit is contained in:
Iñaki Úcar 2022-05-18 00:02:52 +02:00
parent 8d1605be42
commit d793610049
1 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,9 @@
%bcond_without blis
%bcond_without openblas
# https://bugzilla.redhat.com/show_bug.cgi?id=2058840
%undefine _ld_as_needed
%if %{with openblas}
%global default_backend openblas-openmp
%else
@ -16,7 +19,7 @@
Name: flexiblas
Version: %{major_version}.%{minor_version}.%{patch_version}
Release: 1%{?dist}
Release: 2%{?dist}
Summary: A BLAS/LAPACK wrapper library with runtime exchangeable backends
# GPLv3 with an exception for the BLAS/LAPACK interface
@ -399,6 +402,9 @@ make -C build64 test
%endif
%changelog
* Tue May 17 2022 Iñaki Úcar <iucar@fedoraproject.org> - 3.2.0-2
- Undefine _ld_as_needed to fix underlinking issue (BZ 2058840)
* Tue May 17 2022 Iñaki Úcar <iucar@fedoraproject.org> - 3.2.0-1
- Update to 3.2.0