From ee641773aa1fdecfbfd1df0c1aa8b9d4f9366c8552c6d367ef818774b0171ffd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ismail=20D=C3=B6nmez?= Date: Fri, 2 Jan 2015 15:18:12 +0000 Subject: [PATCH] Accepting request 267007 from home:msmeissn:branches:devel:libraries:c_c++ - build with PIE OBS-URL: https://build.opensuse.org/request/show/267007 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/curl?expand=0&rev=119 --- curl.changes | 5 +++++ curl.spec | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) 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,