Fix bind-now annocheck failure by passing the proper LDFLAGS to the C++ library

Resolves: RHEL-33509
This commit is contained in:
Charalampos Stratakis 2024-07-02 19:39:25 +02:00
parent 1dd40919b7
commit deafe47643

View File

@ -3,7 +3,7 @@
Name: mpdecimal
Version: 2.5.1
Release: 10%{?dist}
Release: 11%{?dist}
Summary: Library for general decimal arithmetic
License: BSD-2-Clause
@ -65,7 +65,9 @@ unzip -d tests/testdata %{SOURCE1}
#define _lto_cflags -flto=auto -ffat-lto-objects
%configure
make %{?_smp_mflags}
# Set LDXXFLAGS to properly pass the buildroot
# linker flags to the C++ extension.
make %{?_smp_mflags} LDXXFLAGS="%{build_ldflags}"
%check
make check
@ -105,6 +107,10 @@ fi
%ldconfig_scriptlets
%changelog
* Tue Jul 02 2024 Charalampos Stratakis <cstratak@redhat.com> - 2.5.1-11
- Fix bind-now annocheck failure by passing the proper LDFLAGS to the C++ library
Resolves: RHEL-33509
* Mon Jun 24 2024 Troy Dawson <tdawson@redhat.com> - 2.5.1-10
- Bump release for June 2024 mass rebuild