diff --git a/file.changes b/file.changes index edee9e3..721895a 100644 --- a/file.changes +++ b/file.changes @@ -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 diff --git a/file.spec b/file.spec index 17e13ec..488c38c 100644 --- a/file.spec +++ b/file.spec @@ -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