Fix ld specs mishandling of incremental linking

This commit is contained in:
Adam Jackson 2015-04-08 09:29:03 -04:00
parent d9235d2d90
commit 5568cb1c38
2 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
*self_spec: *self_spec:
+ %{!shared:-pie} + %{!shared:%{!r:-pie}}
*link: *link:
+ -z now + -z now

View File

@ -6,7 +6,7 @@
Summary: Red Hat specific rpm configuration files Summary: Red Hat specific rpm configuration files
Name: redhat-rpm-config Name: redhat-rpm-config
Version: 28 Version: 29
Release: 1%{?dist} Release: 1%{?dist}
# No version specified. # No version specified.
License: GPL+ License: GPL+
@ -135,6 +135,9 @@ install -p -m 755 -t %{buildroot}%{_rpmconfigdir} kmod.prov
%{_rpmconfigdir}/macros.d/macros.kmp %{_rpmconfigdir}/macros.d/macros.kmp
%changelog %changelog
* Wed Apr 08 2015 Adam Jackson <ajax@redhat.com> 29-1
- Fix ld specs mishandling of incremental linking
* Thu Feb 19 2015 Till Maas <opensource@till.name> - 28-1 * Thu Feb 19 2015 Till Maas <opensource@till.name> - 28-1
- Enable harden flags by default (#1192183) - Enable harden flags by default (#1192183)