Set LDFLAGS for hardened builds (#1289728)
Without LDFLAGS the git exectuables were not being linked with the desired settings for hardened builds.
This commit is contained in:
parent
40aebfdc03
commit
58fa1693f7
6
git.spec
6
git.spec
@ -50,7 +50,7 @@
|
|||||||
|
|
||||||
Name: git
|
Name: git
|
||||||
Version: 2.8.1
|
Version: 2.8.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: Fast Version Control System
|
Summary: Fast Version Control System
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
Group: Development/Tools
|
Group: Development/Tools
|
||||||
@ -385,6 +385,7 @@ find prebuilt_docs/html -type d | xargs rmdir --ignore-fail-on-non-empty
|
|||||||
cat << \EOF > config.mak
|
cat << \EOF > config.mak
|
||||||
V = 1
|
V = 1
|
||||||
CFLAGS = %{optflags}
|
CFLAGS = %{optflags}
|
||||||
|
LDFLAGS = %{__global_ldflags}
|
||||||
BLK_SHA1 = 1
|
BLK_SHA1 = 1
|
||||||
NEEDS_CRYPTO_WITH_SSL = 1
|
NEEDS_CRYPTO_WITH_SSL = 1
|
||||||
USE_LIBPCRE = 1
|
USE_LIBPCRE = 1
|
||||||
@ -729,6 +730,9 @@ rm -rf %{buildroot}
|
|||||||
# No files for you!
|
# No files for you!
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Apr 11 2016 Todd Zullinger <tmz@pobox.com> - - 2.8.1-3
|
||||||
|
- Set LDFLAGS for hardened builds (#1289728)
|
||||||
|
|
||||||
* Wed Apr 06 2016 Paolo Bonzini <pbonzini@redhat.com> - 2.8.1-2
|
* Wed Apr 06 2016 Paolo Bonzini <pbonzini@redhat.com> - 2.8.1-2
|
||||||
- Install git-credentials-netrc (#1303358)
|
- Install git-credentials-netrc (#1303358)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user