From 7995cdd981480ee32963202a776c2023cc496f4df6bb713f9364d68dddb8ddeb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cristian=20Rodr=C3=ADguez?= Date: Tue, 9 Nov 2010 19:11:56 +0000 Subject: [PATCH] Accepting request 52609 from home:elvigia:branches:Base:System OBS-URL: https://build.opensuse.org/request/show/52609 OBS-URL: https://build.opensuse.org/package/show/Base:System/cronie?expand=0&rev=45 --- cronie.changes | 5 +++++ cronie.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/cronie.changes b/cronie.changes index 6748c39..7d236a4 100644 --- a/cronie.changes +++ b/cronie.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Tue Nov 9 15:38:33 UTC 2010 - cristian.rodriguez@opensuse.org + +- use full RELRO here. + ------------------------------------------------------------------- Mon Nov 8 13:15:59 UTC 2010 - aj@suse.de diff --git a/cronie.spec b/cronie.spec index 7262748..4d896f9 100644 --- a/cronie.spec +++ b/cronie.spec @@ -97,7 +97,8 @@ cp %{S:7} ./cron_to_cronie.README %build autoreconf -fiv # fill macro CRON_VERSION it is used in top three lines of crontab file,should be reworked -CFLAGS="$RPM_OPT_FLAGS -DCRON_VERSION=\\\"%{version}\\\"" +export CFLAGS="$RPM_OPT_FLAGS -DCRON_VERSION=\\\"%{version}\\\"" +export LDFLAGS="-Wl,-z,relro,-z,now,-z,defs" %configure --with-audit --enable-anacron --with-pam --with-selinux --with-inotify --enable-pie SPOOL_DIR="/var/spool/cron/tabs" %{__make} %{?_smp_mflags}