Disable -fno-strict-aliasing (RHBZ#1807737)
This commit is contained in:
parent
a92c5f3a02
commit
8899732bc3
9
lzo.spec
9
lzo.spec
@ -1,6 +1,6 @@
|
||||
Name: lzo
|
||||
Version: 2.10
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Data compression library with very fast (de)compression
|
||||
License: GPLv2+
|
||||
URL: http://www.oberhumer.com/opensource/lzo/
|
||||
@ -50,7 +50,7 @@ done
|
||||
|
||||
%build
|
||||
%configure --disable-dependency-tracking --disable-static --enable-shared
|
||||
%{make_build}
|
||||
%{make_build} CFLAGS+=-fno-strict-aliasing
|
||||
|
||||
# build minilzo too (bz 439979)
|
||||
gcc %{optflags} -fpic -Iinclude/lzo -o minilzo/minilzo.o -c minilzo/minilzo.c
|
||||
@ -69,7 +69,7 @@ install -p -m 644 minilzo/minilzo.h $RPM_BUILD_ROOT%{_includedir}/lzo
|
||||
rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/lzo
|
||||
|
||||
%check
|
||||
#make check test
|
||||
make check test
|
||||
|
||||
|
||||
%ldconfig_scriptlets
|
||||
@ -94,6 +94,9 @@ rm -rf $RPM_BUILD_ROOT%{_datadir}/doc/lzo
|
||||
|
||||
|
||||
%changelog
|
||||
* Mon Mar 02 2020 Michael Cronenworth <mike@cchtml.com> - 2.10-2
|
||||
- Disable -fno-strict-aliasing (RHBZ#1807737)
|
||||
|
||||
* Sun Feb 9 2020 Peter Robinson <pbrobinson@fedoraproject.org> 2.10-1
|
||||
- Update to 2.10
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user