From deafe476436fd5cb711c31b29f0936702cd7e077 Mon Sep 17 00:00:00 2001 From: Charalampos Stratakis Date: Tue, 2 Jul 2024 19:39:25 +0200 Subject: [PATCH] Fix bind-now annocheck failure by passing the proper LDFLAGS to the C++ library Resolves: RHEL-33509 --- mpdecimal.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/mpdecimal.spec b/mpdecimal.spec index fece383..2f29a4c 100644 --- a/mpdecimal.spec +++ b/mpdecimal.spec @@ -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 - 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 - 2.5.1-10 - Bump release for June 2024 mass rebuild