From 614beb2f71bf6e294833290d6a1f601a33cdd195 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Apr 20 2011 14:23:19 +0000 Subject: link with -Wl,-z,relro,-z,now options --- diff --git a/chrony.spec b/chrony.spec index d30ae75..265dd53 100644 --- a/chrony.spec +++ b/chrony.spec @@ -49,6 +49,7 @@ CFLAGS="$CFLAGS -pie -fpie" %endif export CFLAGS export CPPFLAGS="-Ipps" +export LDFLAGS="-Wl,-z,relro,-z,now" %configure --docdir=%{_docdir} --enable-forcednsretry make %{?_smp_mflags} getdate all docs