Accepting request 267038 from devel:libraries:c_c++

1

OBS-URL: https://build.opensuse.org/request/show/267038
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/curl?expand=0&rev=97
This commit is contained in:
Dominique Leuenberger 2015-01-05 03:42:54 +00:00 committed by Git OBS Bridge
commit 012ca8f92d
2 changed files with 8 additions and 1 deletions

View File

@ -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

View File

@ -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,