Link with -z now for full RELRO
This commit is contained in:
parent
d8e7ffdce5
commit
f16bb8d805
@ -1,7 +1,7 @@
|
||||
Summary: The compression and decompression library
|
||||
Name: zlib
|
||||
Version: 1.2.8
|
||||
Release: 8%{?dist}
|
||||
Release: 9%{?dist}
|
||||
# /contrib/dotzlib/ have Boost license
|
||||
License: zlib and Boost
|
||||
Group: System Environment/Libraries
|
||||
@ -83,7 +83,7 @@ mv ChangeLog.tmp ChangeLog
|
||||
%else
|
||||
export CFLAGS="$RPM_OPT_FLAGS"
|
||||
%endif
|
||||
export LDFLAGS="$LDFLAGS -Wl,-z,relro"
|
||||
export LDFLAGS="$LDFLAGS -Wl,-z,relro -Wl,-z,now"
|
||||
./configure --libdir=%{_libdir} --includedir=%{_includedir} --prefix=%{_prefix}
|
||||
make %{?_smp_mflags}
|
||||
|
||||
@ -143,6 +143,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
|
||||
%{_libdir}/pkgconfig/minizip.pc
|
||||
|
||||
%changelog
|
||||
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 1.2.8-9
|
||||
- Link with -z now for full RELRO
|
||||
|
||||
* Fri Jun 19 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 1.2.8-8
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user