SHA256
3
0
forked from pool/file

Accepting request 265980 from home:msmeissn:branches:Base:System

- build with PIE

OBS-URL: https://build.opensuse.org/request/show/265980
OBS-URL: https://build.opensuse.org/package/show/Base:System/file?expand=0&rev=111
This commit is contained in:
Stephan Kulow 2014-12-22 07:33:19 +00:00 committed by Git OBS Bridge
parent 99d09cc3f3
commit 738fa8fe6c
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Sat Dec 20 08:57:15 UTC 2014 - meissner@suse.com
- build with PIE
-------------------------------------------------------------------
Wed Dec 17 13:08:34 UTC 2014 - werner@suse.de

View File

@ -136,9 +136,9 @@ export LC_ALL=POSIX
rm -f Magdir/*,v Magdir/*~
rm -f ltcf-c.sh ltconfig ltmain.sh
autoreconf -fiv
CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632"
CFLAGS="$RPM_OPT_FLAGS -DHOWMANY=69632 -fPIE"
%configure --disable-silent-rules --datadir=%{_miscdir} --disable-static --with-pic --enable-fsect-man5
%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)'
%{__make} %{?_smp_mflags} pkgdatadir='$(datadir)' LDFLAGS="-pie"
%if 0%{?build_python_bindings:1}
pushd python
python setup.py build