Accepting request 80347 from Base:System
link with pie OBS-URL: https://build.opensuse.org/request/show/80347 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gpg2?expand=0&rev=57
This commit is contained in:
commit
066b4dcbed
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Aug 31 10:00:35 UTC 2011 - puzel@suse.com
|
||||
|
||||
- link with -pie
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 19 01:11:42 UTC 2011 - crrodriguez@opensuse.org
|
||||
|
||||
|
@ -80,10 +80,12 @@ autoreconf -fi
|
||||
# build PIEs (position independent executables) for address space randomisation:
|
||||
%ifarch s390x %sparc
|
||||
# s390x needs to use the large PIE model (at least for gpg.c):
|
||||
CFLAGS="%{optflags} -fPIE" LDFLAGS=-pie \
|
||||
PIE="-fPIE"
|
||||
%else
|
||||
CFLAGS="%{optflags} -fpie" LDFLAGS=-pie \
|
||||
PIE="-fpie"
|
||||
%endif
|
||||
export CFLAGS="%{optflags} ${PIE}"
|
||||
export LDFLAGS=-pie
|
||||
%configure \
|
||||
--libexecdir=%{_libdir} \
|
||||
--docdir=%{_docdir}/%{name} \
|
||||
|
Loading…
Reference in New Issue
Block a user