Accepting request 102839 from home:dlovasko:branches:network:samba:STABLE

fixed bnc#743133 - added position independent flags to compilation and linking(-fpie/-pie)

OBS-URL: https://build.opensuse.org/request/show/102839
OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/cifs-utils?expand=0&rev=42
This commit is contained in:
Suresh Jayaraman 2012-02-06 11:12:48 +00:00 committed by Git OBS Bridge
parent a1732b92dc
commit 78cb3cea70
2 changed files with 8 additions and 1 deletions

View File

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

View File

@ -16,6 +16,7 @@
#
Name: cifs-utils
Version: 5.3
Release: 0
@ -73,7 +74,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}