forked from pool/rsync
Accepting request 103280 from network
- Build with PIE and full RELRO (forwarded request 102828 from elvigia) OBS-URL: https://build.opensuse.org/request/show/103280 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/rsync?expand=0&rev=40
This commit is contained in:
commit
592187e74d
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sun Feb 5 23:25:26 UTC 2012 - crrodriguez@opensuse.org
|
||||
|
||||
- Build with PIE and full RELRO
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 21 10:42:30 UTC 2011 - coolo@suse.com
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package rsync
|
||||
#
|
||||
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -15,6 +15,7 @@
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
%define with_system_zlib 0
|
||||
%if 0%{?suse_version} < 1120
|
||||
%define _initddir %{_sysconfdir}/init.d
|
||||
@ -78,8 +79,9 @@ patch -p1 < patches/slp.diff
|
||||
patch -p1 < patches/drop-cache.diff
|
||||
|
||||
%build
|
||||
autoheader
|
||||
autoconf
|
||||
autoreconf -fiv
|
||||
export CFLAGS="%optflags -fPIC -DPIC -fPIE"
|
||||
export LDFLAGS="-Wl,-z,relro,-z,now -pie"
|
||||
%configure \
|
||||
--disable-debug \
|
||||
--enable-slp \
|
||||
|
Loading…
Reference in New Issue
Block a user