From 60a49912c8b52e425aed529b427b551e05e807acea4bef5d2db156e00ff4f74c Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Fri, 19 Dec 2014 09:38:38 +0000 Subject: [PATCH] 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