[packages/libpng] don't try to enable neon on anything lower than armv7
atler
atler at pld-linux.org
Sat Nov 21 01:07:31 CET 2020
commit f81d19c395888ca8336cfb07466b056461af0181
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Nov 21 01:05:10 2020 +0100
don't try to enable neon on anything lower than armv7
even though it is claimed check is performed in runtime resulting binary
is armv7 and tagged to use neon even when compiling for lower target
libpng.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libpng.spec b/libpng.spec
index 3f4db92..5c60e86 100644
--- a/libpng.spec
+++ b/libpng.spec
@@ -152,7 +152,7 @@ Narzędzia do konwersji plików PNG z lub do plików PNM.
%build
%configure \
-%ifarch %{arm} aarch64
+%ifarch armv7l armv7hl armv7hnl armv8l armv8hl armv8hnl armv8hcnl aarch64
--enable-arm-neon=check \
%endif
%ifarch mipsel mips64el
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/libpng.git/commitdiff/f81d19c395888ca8336cfb07466b056461af0181
More information about the pld-cvs-commit
mailing list