From 230d1b1fcc394ab92977899ce2bfa195373bb92d Mon Sep 17 00:00:00 2001 From: leigh123linux Date: Tue, 16 Aug 2016 17:54:30 +0100 Subject: [PATCH] Add hardening flags to LDFLAGS --- live555.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/live555.spec b/live555.spec index b1a7a7d..b779a56 100644 --- a/live555.spec +++ b/live555.spec @@ -1,6 +1,6 @@ Name: live555 Version: 2016.07.19 -Release: 2%{?dist} +Release: 3%{?dist} Summary: Live555.com streaming libraries Group: System Environment/Libraries @@ -75,7 +75,7 @@ sed -i -e "s|-O2|$RPM_OPT_FLAGS|" \ %build ./genMakefiles %{_target_os}-with-shared-libraries -make %{?_smp_mflags} +make LDFLAGS="$RPM_LD_FLAGS" %{?_smp_mflags} %install @@ -121,6 +121,9 @@ chmod +x $RPM_BUILD_ROOT%{_libdir}/*.so* %changelog +* Tue Aug 16 2016 Leigh Scott - 2016.07.19-3 +- Add hardening flags to LDFLAGS + * Thu Jul 28 2016 Nicolas Chauvet - 2016.07.19-2 - Update to 2016.07.19