Accepting request 105190 from network:samba:STABLE

Added position independent flags to compilation and linking(-fpie/-pie);(bnc#743133).

OBS-URL: https://build.opensuse.org/request/show/105190
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cifs-utils?expand=0&rev=19
This commit is contained in:
Stephan Kulow 2012-02-16 15:11:53 +00:00 committed by Git OBS Bridge
commit 25157ca524
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Mon Feb 6 09:17:17 UTC 2012 - dlovasko@suse.com
- Added position independent flags to compilation and linking (-fpie/-pie);
(bnc#743133).
-------------------------------------------------------------------
Thu Feb 2 11:56:04 UTC 2012 - lmuelle@suse.de

View File

@ -15,7 +15,6 @@
# Please submit bugfixes or comments via http://bugs.opensuse.org/
#
Name: cifs-utils
Version: 5.3
Release: 0
@ -73,7 +72,8 @@ the Linux CIFS filesystem.
%build
autoreconf --force --install
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fpie"
export LDFLAGS="-pie"
%{configure}
%{__make} %{?_smp_mflags}