From b0b99a86f70aac36e8d3b89eb461938f95f06c84271bf331409fe6f3f2f1ceae Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:13 +0000 Subject: [PATCH 1/3] 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 From 60a49912c8b52e425aed529b427b551e05e807acea4bef5d2db156e00ff4f74c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:38 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=67 --- xz.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/xz.spec b/xz.spec index 17361f1..57168b0 100644 --- a/xz.spec +++ b/xz.spec @@ -106,8 +106,8 @@ Static library for the LZMA library %setup -q %build -%global optflags %{optflags} -D_REENTRANT -pipe -export LDFLAGS="-Wl,-z,relro,-z,now" +%global optflags %{optflags} -D_REENTRANT -pipe -fPIE +export LDFLAGS="-Wl,-z,relro,-z,now -pie" %if %{do_profiling} profiledir=$(mktemp -d) trap "rm -rf $profiledir" EXIT From c953072ddd470df9d38c717bc00b40833cc5faa52b04c7bbfcbcfc31e7deb1ed Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:44:59 +0000 Subject: [PATCH 3/3] - build with PIE support. OBS-URL: https://build.opensuse.org/package/show/Base:System/xz?expand=0&rev=68 --- xz.changes | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/xz.changes b/xz.changes index 4950fbd..6916c55 100644 --- a/xz.changes +++ b/xz.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Fri Dec 19 09:43:36 UTC 2014 - meissner@suse.com + +- build with PIE support. + ------------------------------------------------------------------- Thu Dec 18 19:37:09 UTC 2014 - crrodriguez@opensuse.org