i686: Switch to C implementaion of the crc and other functions instead of
assembly Related: rhbz#2044902
This commit is contained in:
parent
418ad583f4
commit
8a2539cbf9
13
zip.spec
13
zip.spec
@ -1,7 +1,7 @@
|
|||||||
Summary: A file compression and packaging utility compatible with PKZIP
|
Summary: A file compression and packaging utility compatible with PKZIP
|
||||||
Name: zip
|
Name: zip
|
||||||
Version: 3.0
|
Version: 3.0
|
||||||
Release: 32%{?dist}
|
Release: 33%{?dist}
|
||||||
License: BSD
|
License: BSD
|
||||||
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
|
Source: http://downloads.sourceforge.net/infozip/zip30.tar.gz
|
||||||
URL: http://www.info-zip.org/Zip.html
|
URL: http://www.info-zip.org/Zip.html
|
||||||
@ -41,7 +41,11 @@ program.
|
|||||||
%patch7 -p1
|
%patch7 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
make -f unix/Makefile prefix=%{_prefix} CFLAGS_NOOPT="-I. -DUNIX $RPM_OPT_FLAGS" LFLAGS2="%{?__global_ldflags}" generic_gcc %{?_smp_mflags}
|
sed -i -e 's:-DASM_CRC::g' unix/configure
|
||||||
|
sed -i -e 's:CRC32OA="crc_gcc.o":CRC32OA="":g' unix/configure
|
||||||
|
sed -i -e 's:OBJA=.*:OBJA="":g' unix/configure
|
||||||
|
|
||||||
|
make -f unix/Makefile prefix=%{_prefix} CFLAGS_NOOPT="-I. -DUNIX -DNO_ASM $RPM_OPT_FLAGS" LFLAGS2="%{?__global_ldflags}" generic_gcc %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
mkdir -p $RPM_BUILD_ROOT%{_bindir}
|
||||||
@ -64,6 +68,11 @@ make -f unix/Makefile prefix=$RPM_BUILD_ROOT%{_prefix} \
|
|||||||
%{_mandir}/man1/zipsplit.1*
|
%{_mandir}/man1/zipsplit.1*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Feb 15 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-33
|
||||||
|
- Disable the asm implementation of some functions and use the C instead
|
||||||
|
- This should fix some of the annocheck issues
|
||||||
|
Related: rhbz#2044902
|
||||||
|
|
||||||
* Thu Feb 03 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-32
|
* Thu Feb 03 2022 Jakub Martisko <jamartis@redhat.com> - 3.0-32
|
||||||
- Enable gating tests
|
- Enable gating tests
|
||||||
Related: rhbz#2049738
|
Related: rhbz#2049738
|
||||||
|
Loading…
Reference in New Issue
Block a user