Define __global_ldflags on EL < 7 (#1337137)
Building on EL was unintentionally broken by 58fa169
(Set LDFLAGS for
hardened builds (#1289728), 2016-04-11).
Thanks to Dimitry Andric for reporting this issue.
This commit is contained in:
parent
2ca467acc0
commit
72c240de2a
6
git.spec
6
git.spec
@ -48,6 +48,11 @@
|
|||||||
%global use_systemd 0
|
%global use_systemd 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
# Settings for EL <= 7
|
||||||
|
%if 0%{?rhel} && 0%{?rhel} <= 7
|
||||||
|
%{!?__global_ldflags: %global __global_ldflags -Wl,-z,relro}
|
||||||
|
%endif
|
||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.8.2
|
Version: 2.8.2
|
||||||
Release: 4%{?dist}
|
Release: 4%{?dist}
|
||||||
@ -732,6 +737,7 @@ rm -rf %{buildroot}
|
|||||||
%changelog
|
%changelog
|
||||||
* Wed May 18 2016 Todd Zullinger <tmz@pobox.com> - 2.8.2-4
|
* Wed May 18 2016 Todd Zullinger <tmz@pobox.com> - 2.8.2-4
|
||||||
- Use perl(MOD::NAME) format for perl-DBD-SQLite and perl-Digest-MD5 deps
|
- Use perl(MOD::NAME) format for perl-DBD-SQLite and perl-Digest-MD5 deps
|
||||||
|
- Define __global_ldflags on EL < 7 (#1337137)
|
||||||
|
|
||||||
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.8.2-3
|
* Wed May 18 2016 Jitka Plesnikova <jplesnik@redhat.com> - 2.8.2-3
|
||||||
- Perl 5.24 re-rebuild of bootstrapped packages
|
- Perl 5.24 re-rebuild of bootstrapped packages
|
||||||
|
Loading…
Reference in New Issue
Block a user