diff --git a/configure.ac b/configure.ac index c615cab2..b4a1993c 100644 --- a/configure.ac +++ b/configure.ac @@ -1911,6 +1911,13 @@ case "${host}" in LG_PAGE=14 fi ;; + aarch64-linux-gnu*) + dnl When cross-compile for 64 bit Arm64, use memory granularity of 64K to ensure + dnl that 64K and 16K kernel sizes (default for many distros) function al all. + if test "x${host}" != "x${build}" -a "x$LG_PAGE" = "xdetect"; then + LG_PAGE=16 + fi + ;; esac if test "x$LG_PAGE" = "xdetect"; then AC_CACHE_CHECK([LG_PAGE],