mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-27 20:59:36 +08:00
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:
parent
8f4aae70b8
commit
adbefa8316
@ -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})
|
||||||
|
Loading…
Reference in New Issue
Block a user