Remove misguided LDFLAGS hack which removed server hardening.

https://bugzilla.redhat.com/show_bug.cgi?id=1624149#c6
This commit is contained in:
Richard W.M. Jones 2018-12-17 21:28:32 +00:00
parent b1cfd00957
commit c6c0e76474

View File

@ -32,7 +32,7 @@
Name: nbdkit
Version: 1.9.7
Release: 1%{?dist}
Release: 2%{?dist}
Summary: NBD server
License: BSD
@ -589,10 +589,6 @@ autoreconf -i
%build
# Force immediate binding for hardened build for plugins.
# https://bugzilla.redhat.com/show_bug.cgi?id=977446#c13
export LDFLAGS="$LDFLAGS -Wl,-z,now"
# Build for Python 3 in a separate subdirectory. Upstream does not
# support srcdir!=builddir so copy the whole source.
copy="$(mktemp -d)"
@ -963,6 +959,10 @@ popd
%changelog
* Mon Dec 17 2018 Richard W.M. Jones <rjones@redhat.com> - 1.9.7-2
- Remove misguided LDFLAGS hack which removed server hardening.
https://bugzilla.redhat.com/show_bug.cgi?id=1624149#c6
* Sat Dec 15 2018 Richard W.M. Jones <rjones@redhat.com> - 1.9.7-1
- New upstream version 1.9.7.