From b0b99a86f70aac36e8d3b89eb461938f95f06c84271bf331409fe6f3f2f1ceae Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:13 +0000 Subject: [PATCH] Accepting request 265844 from home:elvigia:branches:Base:System - Build XZ with full RELRO. OBS-URL: https://build.opensuse.org/request/show/265844 OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=66 --- xz.changes | 5 +++++ xz.spec | 1 + 2 files changed, 6 insertions(+) diff --git a/xz.changes b/xz.changes index 82656f1..4950fbd 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Dec 18 19:37:09 UTC 2014 - crrodriguez@opensuse.org + +- Build XZ with full RELRO. + ------------------------------------------------------------------- Tue Sep 23 00:11:27 UTC 2014 - andreas.stieger@gmx.de diff --git a/xz.spec b/xz.spec index 17007d7..17361f1 100644 --- a/xz.spec +++ b/xz.spec @@ -107,6 +107,7 @@ Static library for the LZMA library %build %global optflags %{optflags} -D_REENTRANT -pipe +export LDFLAGS="-Wl,-z,relro,-z,now" %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT