void-packages/srcpkgs/tesseract-ocr/patches/disable-neon.patch

15 lines
301 B
Diff

--- a/configure.ac
+++ b/configure.ac
@@ -177,6 +177,11 @@
AC_DEFINE([HAVE_NEON], [1], [Enable NEON instructions])
;;
+ arm|armv7l)
+
+ AC_MSG_WARN([No compiler options for $host_cpu])
+ ;;
+
arm*)
AX_CHECK_COMPILE_FLAG([-mfpu=neon], [neon=true], [neon=false], [$WERROR])