Fix AMD64 detection with autobuild on FreeBSD (#3964)

Tesseract for FreeBSD was built without support for SSE4.1, AVX,
AVX2 or FMA because it uses a different value for `host_cpu`.

Signed-off-by: Stefan Weil <sw@weilnetz.de>
This commit is contained in:
Stefan Weil 2022-11-14 18:30:10 +01:00
parent 8f4aae70b8
commit adbefa8316

View File

@ -136,7 +136,7 @@ AM_CONDITIONAL([HAVE_NEON], false)
case "${host_cpu}" in case "${host_cpu}" in
*86*) amd64|*86*)
AX_CHECK_COMPILE_FLAG([-mavx], [avx=true], [avx=false], [$WERROR]) AX_CHECK_COMPILE_FLAG([-mavx], [avx=true], [avx=false], [$WERROR])
AM_CONDITIONAL([HAVE_AVX], ${avx}) AM_CONDITIONAL([HAVE_AVX], ${avx})