Fix build on armv7hl

epel9
Simone Caronni 4 years ago
parent 60da0a958f
commit 4a3cdb03d0

@ -1,6 +1,6 @@
Name: zimg
Version: 3.0.1
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Scaling, color space conversion, and dithering library
License: WTFPL
URL: https://github.com/sekrit-twc/zimg
@ -33,6 +33,10 @@ developing applications that use %{name}.
%autosetup -p1 -n zimg-release-%{version}
%build
%ifarch armv7hl
CXXFLAGS=$(echo %{optflags} | sed -e 's/ -mfpu=vfpv3-d16//g')
%endif
autoreconf -vif
%configure \
--disable-static \
@ -63,6 +67,9 @@ rm -fr %{buildroot}%{_docdir}/%{name}
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Thu Jan 7 2021 Simone Caronni <negativo17@gmail.com> - 3.0.1-2
- Fix build on armv7hl.
* Sat Jan 2 2021 Simone Caronni <negativo17@gmail.com> - 3.0.1-1
- Update to 3.0.1.

Loading…
Cancel
Save