summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Kandaurov <pluknet@nginx.com>2022-04-29 17:38:01 +0400
committerSergey Kandaurov <pluknet@nginx.com>2022-04-29 17:38:01 +0400
commit2cb5bdf665c74d09f619add61228e4c3cb626469 (patch)
tree45cb448f57bea1332356f4ad9b0cccc7e05a1dbd
parent828fb94e1dbe1c433edd39147ba085c4622c99ed (diff)
downloadnginx-2cb5bdf665c74d09f619add61228e4c3cb626469.tar.gz
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.
-rw-r--r--auto/os/conf2
1 files changed, 1 insertions, 1 deletions
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
;;