This commit is contained in:
parent
b0b99a86f7
commit
60a49912c8
4
xz.spec
4
xz.spec
@ -106,8 +106,8 @@ Static library for the LZMA library
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%global optflags %{optflags} -D_REENTRANT -pipe
|
%global optflags %{optflags} -D_REENTRANT -pipe -fPIE
|
||||||
export LDFLAGS="-Wl,-z,relro,-z,now"
|
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||||
%if %{do_profiling}
|
%if %{do_profiling}
|
||||||
profiledir=$(mktemp -d)
|
profiledir=$(mktemp -d)
|
||||||
trap "rm -rf $profiledir" EXIT
|
trap "rm -rf $profiledir" EXIT
|
||||||
|
Loading…
Reference in New Issue
Block a user