From 18e7ce697175affb9b77015aae049862445a6ab7d5320107399c4d730221d91a Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 1 Sep 2014 15:38:38 +0000 Subject: [PATCH] Accepting request 246689 from home:elvigia:branches:Base:System - Harden build with full RELRO as this libraries end linked to at least one setuid root executable. OBS-URL: https://build.opensuse.org/request/show/246689 OBS-URL: https://build.opensuse.org/package/show/Base:System/pcre?expand=0&rev=60 --- pcre.changes | 6 ++++++ pcre.spec | 1 + 2 files changed, 7 insertions(+) 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 \