diff --git a/cifs-utils.changes b/cifs-utils.changes index 3ba7e62..29bd2af 100644 --- a/cifs-utils.changes +++ b/cifs-utils.changes @@ -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 diff --git a/cifs-utils.spec b/cifs-utils.spec index fdd7efc..4070e7b 100644 --- a/cifs-utils.spec +++ b/cifs-utils.spec @@ -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}