diff --git a/fetchmail.changes b/fetchmail.changes index d66b62a..6d68074 100644 --- a/fetchmail.changes +++ b/fetchmail.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon Dec 29 13:46:10 UTC 2014 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Fri Dec 5 13:06:55 UTC 2014 - lmuelle@suse.com diff --git a/fetchmail.spec b/fetchmail.spec index cc683cc..1b88406 100644 --- a/fetchmail.spec +++ b/fetchmail.spec @@ -94,6 +94,7 @@ if [ -f /usr/%{_lib}/libkrb5.so ] ; then else GSS="" fi +export CFLAGS="$RPM_OPT_FLAGS -fPIE" %configure\ --enable-POP2\ --enable-RPA\ @@ -105,7 +106,7 @@ fi $GSS\ %endif --with-ssl=/usr -make %{?_smp_mflags} +make %{?_smp_mflags} LDFLAGS="-pie" %install %make_install