From b1cba4a2a1ac919d7f7ee139f0a769a67e72a1ea Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 26 Jan 2022 16:40:54 -0500 Subject: [PATCH] Link with bind-now Resolves: rhbz#2044891 --- speech-tools.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/speech-tools.spec b/speech-tools.spec index b0a8f2e..c8ee519 100644 --- a/speech-tools.spec +++ b/speech-tools.spec @@ -1,6 +1,6 @@ Name: speech-tools Version: 2.5 -Release: 17%{?dist} +Release: 18%{?dist} Summary: Edinburgh speech tools library License: MIT @@ -34,7 +34,7 @@ and some basic signal processing software. %build %configure # The following make invocation is necessary because configure does not honor the default compiler flags and ignoring those breaks the debuginfo package generation. Also, it disables problematic parallel make. -%__make CFLAGS="%{optflags} -fPIC -flto -fno-lto" CXXFLAGS="%{optflags} -fPIC -flto -fno-lto" LDFLAGS="$LDFLAGS -flto -fno-lto" +%__make CFLAGS="%{optflags} -fPIC -flto -fno-lto" CXXFLAGS="%{optflags} -fPIC -flto -fno-lto -Wl,-z,now" LDFLAGS="$LDFLAGS -flto -fno-lto" %install mkdir -p %{buildroot}%{_bindir} @@ -104,6 +104,10 @@ but they might be depended upon by some third-party developers as well. %{_libdir}/*.a %changelog +* Wed Jan 26 2022 Matthias Clasen - 2.5-18 +- Link with -Wl,-z,now + Resolves: rhbz#2044891 + * Tue Aug 10 2021 Mohan Boddu - 2.5-17 - Rebuilt for IMA sigs, glibc 2.34, aarch64 flags Related: rhbz#1991688