diff --git a/curl.changes b/curl.changes index 82e007c..8115d72 100644 --- a/curl.changes +++ b/curl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Thu Jan 1 23:08:25 UTC 2015 - meissner@suse.com + +- build with PIE + ------------------------------------------------------------------- Fri Nov 14 15:29:07 UTC 2014 - vcizek@suse.com diff --git a/curl.spec b/curl.spec index a099ad1..60c4745 100644 --- a/curl.spec +++ b/curl.spec @@ -1,7 +1,7 @@ # # spec file for package curl # -# Copyright (c) 2014 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2015 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -100,6 +100,8 @@ user interaction or any kind of interactivity. CPPFLAGS="-D_FORTIFY_SOURCE=2" CFLAGS=$(echo %{optflags} | sed 's/-D_FORTIFY_SOURCE=2//') export CPPFLAGS CFLAGS +export CFLAGS="$CFLAGS -fPIE" +export LDFLAGS="$LDFLAGS -pie" autoreconf -fi # local hack to make curl-config --libs stop printing libraries it depends on # (currently, libtool sets link_all_deplibs=(yes|unknown) everywhere,