From 4a3cdb03d0d7da25bd4cd92c58040937fc74596b Mon Sep 17 00:00:00 2001 From: Simone Caronni Date: Thu, 7 Jan 2021 08:57:12 +0100 Subject: [PATCH] Fix build on armv7hl --- zimg.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/zimg.spec b/zimg.spec index 69aa0b4..e98c313 100644 --- a/zimg.spec +++ b/zimg.spec @@ -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 - 3.0.1-2 +- Fix build on armv7hl. + * Sat Jan 2 2021 Simone Caronni - 3.0.1-1 - Update to 3.0.1.