Set fp-contract for riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2024-01-11 12:20:53 +02:00
parent 10c0e22bf9
commit 0588cdd40a
Signed by: davidlt
GPG Key ID: 7A5F42FAF91FACC3

View File

@ -1,6 +1,6 @@
Name: libjpeg-turbo
Version: 2.1.4
Release: 3%{?dist}
Release: 3.0.riscv64%{?dist}
Summary: A MMX/SSE2/SIMD accelerated library for manipulating JPEG image files
License: IJG
URL: http://sourceforge.net/projects/libjpeg-turbo
@ -79,7 +79,7 @@ export LDFLAGS="$RPM_LD_FLAGS -Wl,-z,ibt -Wl,-z,shstk"
%{cmake} -DCMAKE_SKIP_RPATH:BOOL=YES \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=YES \
%ifarch s390x
%ifarch s390x riscv64
-DFLOATTEST:STRING="fp-contract" \
%endif
-DENABLE_STATIC:BOOL=NO
@ -179,6 +179,9 @@ export LD_LIBRARY_PATH=%{buildroot}%{_libdir}
%{_libdir}/pkgconfig/libturbojpeg.pc
%changelog
* Thu Jan 11 2024 David Abdurachmanov <davidlt@rivosinc.com> - 2.1.4-3.0.riscv64
- Set fp-contract for riscv64
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.1.4-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild