SHA256
3
0
forked from pool/xz

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
This commit is contained in:
Marcus Meissner 2014-12-19 09:38:13 +00:00 committed by Git OBS Bridge
parent c834d746ed
commit b0b99a86f7
2 changed files with 6 additions and 0 deletions

View File

@ -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 Tue Sep 23 00:11:27 UTC 2014 - andreas.stieger@gmx.de

View File

@ -107,6 +107,7 @@ Static library for the LZMA library
%build %build
%global optflags %{optflags} -D_REENTRANT -pipe %global optflags %{optflags} -D_REENTRANT -pipe
export LDFLAGS="-Wl,-z,relro,-z,now"
%if %{do_profiling} %if %{do_profiling}
profiledir=$(mktemp -d) profiledir=$(mktemp -d)
trap "rm -rf $profiledir" EXIT trap "rm -rf $profiledir" EXIT