[chrony/f14/master] link with -Wl,-z,relro,-z,now options

Miroslav Lichvar mlichvar at fedoraproject.org
Thu May 5 12:45:50 UTC 2011


commit 50c9373d25f5f98012b15c477ea3f294901638db
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Wed Apr 20 16:23:19 2011 +0200

    link with -Wl,-z,relro,-z,now options

 chrony.spec |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/chrony.spec b/chrony.spec
index c1cf625..5f322c6 100644
--- a/chrony.spec
+++ b/chrony.spec
@@ -51,6 +51,7 @@ CFLAGS="$CFLAGS -pie -fpie"
 %endif
 export CFLAGS
 export CPPFLAGS="-Ipps"
+export LDFLAGS="-Wl,-z,relro,-z,now"
 
 %configure --docdir=%{_docdir}
 make %{?_smp_mflags} getdate all docs


More information about the scm-commits mailing list