Link libminilzo with -z now

This commit is contained in:
Adam Jackson 2015-08-14 15:06:44 -04:00
parent 961947f994
commit c506f6b5d5

View File

@ -1,6 +1,6 @@
Name: lzo
Version: 2.08
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Data compression library with very fast (de)compression
Group: System Environment/Libraries
License: GPLv2+
@ -54,7 +54,7 @@ done
make %{?_smp_mflags}
# build minilzo too (bz 439979)
gcc %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
gcc -g -shared -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
gcc -g -shared -Wl,-z,now -o libminilzo.so.0 -Wl,-soname,libminilzo.so.0 minilzo/minilzo.o
%install
@ -107,6 +107,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog
* Fri Aug 14 2015 Adam Jackson <ajax@redhat.com> 2.08-5
- Link libminilzo with -z now
* Wed Jun 17 2015 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.08-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild