Do not use SSE flags on arm64 platform

This commit is contained in:
Siarhei Fedartsou
2024-12-03 18:33:47 +01:00
parent 8f2066b1d3
commit e36f8599ba
2 changed files with 2 additions and 2 deletions

View File

@@ -94,7 +94,7 @@ AC_ARG_ENABLE([sse2],
)
)
AS_IF([test "x$enable_sse2" != "xno"], [
AS_IF([test "x$enable_sse2" != "xno" && test "x$(uname -m)" != "xarm64"], [
CFLAGS="-mfpmath=sse -msse2 -DUSE_SSE ${CFLAGS}"
])