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