Pass ldflags into the build so hardening works
This commit is contained in:
parent
aae31df792
commit
cb73108067
@ -9,7 +9,7 @@
|
|||||||
Summary: Linux Key Management Utilities
|
Summary: Linux Key Management Utilities
|
||||||
Name: keyutils
|
Name: keyutils
|
||||||
Version: %{version}
|
Version: %{version}
|
||||||
Release: 6%{?buildid}%{?dist}
|
Release: 7%{?buildid}%{?dist}
|
||||||
License: GPLv2+ and LGPLv2+
|
License: GPLv2+ and LGPLv2+
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
ExclusiveOS: Linux
|
ExclusiveOS: Linux
|
||||||
@ -60,7 +60,8 @@ make \
|
|||||||
SHAREDIR=%{datadir} \
|
SHAREDIR=%{datadir} \
|
||||||
RELEASE=.%{release} \
|
RELEASE=.%{release} \
|
||||||
NO_GLIBC_KEYERR=1 \
|
NO_GLIBC_KEYERR=1 \
|
||||||
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror"
|
CFLAGS="-Wall $RPM_OPT_FLAGS -Werror" \
|
||||||
|
LDFLAGS="%{?__global_ldflags}"
|
||||||
|
|
||||||
%install
|
%install
|
||||||
rm -rf $RPM_BUILD_ROOT
|
rm -rf $RPM_BUILD_ROOT
|
||||||
@ -111,6 +112,9 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
%{_mandir}/man3/*
|
%{_mandir}/man3/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 1.5.9-7
|
||||||
|
- Pass ldflags into the build so hardening works
|
||||||
|
|
||||||
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.9-6
|
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.5.9-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user