From 2cb5bdf665c74d09f619add61228e4c3cb626469 Mon Sep 17 00:00:00 2001 From: Sergey Kandaurov Date: Fri, 29 Apr 2022 17:38:01 +0400 Subject: [PATCH] Configure: recognize arm64 machine name as a synonym for aarch64. In particular, this sets a reasonable cacheline size on FreeBSD and macOS, which prefer to use this name and both lack _SC_LEVEL1_DCACHE_LINESIZE. --- auto/os/conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/auto/os/conf b/auto/os/conf index 7c6cb691a..d7f6e0382 100644 --- a/auto/os/conf +++ b/auto/os/conf @@ -110,7 +110,7 @@ case "$NGX_MACHINE" in NGX_MACH_CACHE_LINE=64 ;; - aarch64 ) + aarch64 | arm64) have=NGX_ALIGNMENT value=16 . auto/define NGX_MACH_CACHE_LINE=64 ;;