From a5dd5110244e9ade24a1fd8e325ce03720ecbd3e Mon Sep 17 00:00:00 2001 From: Antonio Trande Date: Wed, 22 Feb 2023 22:14:19 +0100 Subject: [PATCH] Undefine _ld_as_needed --- petsc.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/petsc.spec b/petsc.spec index 040ab0a..2b89f55 100644 --- a/petsc.spec +++ b/petsc.spec @@ -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 - 3.17.4-10 +- Undefine _ld_as_needed + * Wed Feb 22 2023 Antonio Trande - 3.17.4-9 - Fix rhbz#2171312 /2