diff --git a/configure.ac b/configure.ac index b7339215..dc77930e 100644 --- a/configure.ac +++ b/configure.ac @@ -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}" ])