[xinetd/f15/master] - Add -Wl,-z,relro,-z,now to LDFLAGS

Vojtěch Vítek vvitek at fedoraproject.org
Tue Feb 15 16:02:34 UTC 2011


commit 333089beed76a3f03dd3a657c1db27dc56e5ed0a
Author: Vojtech Vitek (V-Teq) <vvitek at redhat.com>
Date:   Mon Feb 14 16:14:10 2011 +0100

    - Add -Wl,-z,relro,-z,now to LDFLAGS

 xinetd.spec |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/xinetd.spec b/xinetd.spec
index b9d0e73..75fbc38 100644
--- a/xinetd.spec
+++ b/xinetd.spec
@@ -88,6 +88,7 @@ aclocal
 autoconf
 
 %build
+export LDFLAGS="$LDFLAGS -Wl,-z,relro,-z,now"
 %configure --with-loadavg --with-inet6 %{!?tcp_wrappers:--with-libwrap} --with-labeled-networking
 make
 
@@ -142,6 +143,8 @@ fi
 %{_mandir}/*/*
 
 %changelog
+- Add -Wl,-z,relro,-z,now to LDFLAGS
+
 * Mon Feb 07 2011 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 2:2.3.14-33
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild
 


More information about the scm-commits mailing list