diff --git a/pcre.changes b/pcre.changes index 588f4e1..571b1e3 100644 --- a/pcre.changes +++ b/pcre.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Aug 28 03:10:39 UTC 2014 - crrodriguez@opensuse.org + +- Harden build with full RELRO as this libraries end linked + to at least one setuid root executable. + ------------------------------------------------------------------- Mon Jun 16 14:44:43 UTC 2014 - dvaleev@suse.com diff --git a/pcre.spec b/pcre.spec index 07d74a3..7c2190b 100644 --- a/pcre.spec +++ b/pcre.spec @@ -160,6 +160,7 @@ as Perl 5. %build # Available JIT archs see sljit/sljitConfig.h autoreconf -fiv +export LDFLAGS="-Wl,-z,relro,-z,now" %configure \ %ifarch %{ix86} x86_64 %{arm} ppc ppc64 ppc64le mips sparc --enable-jit \