Undefine _ld_as_needed

This commit is contained in:
Antonio Trande 2023-02-22 22:14:19 +01:00
parent 0b5a075df0
commit a5dd511024

View File

@ -2,6 +2,10 @@
# Disabling this functionality
%undefine _package_note_file
# Disable LTO
# undefined-non-weak-symbol libpetsc.so.3.17.4_glibcxx_assert_fail
%undefine _ld_as_needed
# Testing libpetsc ?
%bcond_with check
#
@ -285,7 +289,7 @@
Name: petsc
Summary: Portable Extensible Toolkit for Scientific Computation
Version: %{releasever}.4
Release: 9%{?dist}
Release: 10%{?dist}
License: BSD
URL: https://petsc.org/
Source0: https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/petsc-with-docs-%{version}.tar.gz
@ -1167,6 +1171,9 @@ xvfb-run -a make MAKE_NP=$RPM_BUILD_NCPUS all test -C build64 V=1 MPIEXEC='%{_bu
%endif
%changelog
* Wed Feb 22 2023 Antonio Trande <sagitter@fedoraproject.org> - 3.17.4-10
- Undefine _ld_as_needed
* Wed Feb 22 2023 Antonio Trande <sagitter@fedoraproject.org> - 3.17.4-9
- Fix rhbz#2171312 /2