From 738fa8fe6c8f8c53aaf72b5bf2463d3ae0c3928f0a06036ceee11ab879e061f8 Mon Sep 17 00:00:00 2001 From: Stephan Kulow Date: Mon, 22 Dec 2014 07:33:19 +0000 Subject: [PATCH] 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 --- file.changes | 5 +++++ file.spec | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) 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