From 8469424451f6f097eef1338a239535d2ba4093010870761498c64ca00d445f54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Chv=C3=A1tal?= Date: Thu, 8 Jan 2015 15:47:20 +0000 Subject: [PATCH] Accepting request 266788 from home:msmeissn:branches:server:mail - build with PIE OBS-URL: https://build.opensuse.org/request/show/266788 OBS-URL: https://build.opensuse.org/package/show/server:mail/fetchmail?expand=0&rev=62 --- fetchmail.changes | 5 +++++ fetchmail.spec | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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