add arch aarch64

This commit is contained in:
veejay
2023-09-04 20:04:51 +02:00
parent 568853b404
commit 95d8c46d09

View File

@@ -330,6 +330,16 @@ dnl CFLAGS="$CFLAGS -no-cpp-precomp"
fi
;;
aarch64 )
AC_DEFINE(HAVE_ARM,1,[Compiling for ARM CPU])
if test "x$enable_debug" != "xyes" ; then
VJE_CFLAGS="-O3 -ffast-math -ftree-vectorize -m64 -fPIC -DPIC"
SUBSAMPLE_CFLAGS="-m64 -fPIC -DPIC"
fi
CFLAGS="$CFLAGS -m64 -fPIC -DPIC -fopenmp"
have_arm=true
AC_MSG_RESULT(aarch64)
;;
arm|armv7l)
AC_DEFINE(HAVE_ARM,1,[Compiling for ARM CPU])
have_arm=true