Fixing full RELRO ... bind_now -> now (#884017)

This commit is contained in:
Jaromir Capik 2013-07-03 14:12:10 +02:00
parent b1a7374332
commit 7b2914d07e

View File

@ -1,7 +1,7 @@
Summary: A mouse server for the Linux console Summary: A mouse server for the Linux console
Name: gpm Name: gpm
Version: 1.20.6 Version: 1.20.6
Release: 31%{?dist} Release: 32%{?dist}
License: GPLv2+ License: GPLv2+
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.nico.schottelius.org/software/gpm/ URL: http://www.nico.schottelius.org/software/gpm/
@ -84,7 +84,11 @@ mv -f TODO.utf8 TODO
autoreconf autoreconf
%build %build
LDFLAGS='-Wl,-z,relro -Wl,-z,bind_now' # ld fails with PIE
#LDFLAGS='-Wl,-z,relro,-z,now -pie'
#CFLAGS='-fPIE -DPIE'
LDFLAGS='-Wl,-z,relro,-z,now'
%configure %configure
make %{?_smp_mflags} make %{?_smp_mflags}
@ -170,6 +174,9 @@ fi
%{_libdir}/libgpm.a %{_libdir}/libgpm.a
%changelog %changelog
* Wed Jul 03 2013 Jaromir Capik <jcapik@redhat.com> - 1.20.6-32
- Fixing full RELRO ... bind_now -> now (#884017)
* Mon Apr 08 2013 Jaromir Capik <jcapik@redhat.com> - 1.20.6-31 * Mon Apr 08 2013 Jaromir Capik <jcapik@redhat.com> - 1.20.6-31
- fixing bogus dates in the changelog - fixing bogus dates in the changelog