[live555] Add hardening flags to LDFLAGS

Leigh Scott leigh123linux at rpmfusion.org
Tue Aug 16 18:54:35 CEST 2016


commit 230d1b1fcc394ab92977899ce2bfa195373bb92d
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Tue Aug 16 17:54:30 2016 +0100

    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 <leigh123linux at googlemail.com> - 2016.07.19-3
+- Add hardening flags to LDFLAGS
+
 * Thu Jul 28 2016 Nicolas Chauvet <nicolas.chauvet at kwizart.fr> - 2016.07.19-2
 - Update to 2016.07.19
 


More information about the rpmfusion-commits mailing list