commit | 942fccd4d1d8e5afae2c00e3c1da82572127e8ce | [log] [tgz] |
---|---|---|
author | Sergey Kandaurov <pluknet@nginx.com> | Fri Apr 29 17:38:01 2022 +0400 |
committer | Sergey Kandaurov <pluknet@nginx.com> | Fri Apr 29 17:38:01 2022 +0400 |
tree | 45cb448f57bea1332356f4ad9b0cccc7e05a1dbd | |
parent | ab8b107e0f47c29967c0b0fc53eef1d9489b39bf [diff] |
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.
diff --git a/auto/os/conf b/auto/os/conf index 7c6cb69..d7f6e03 100644 --- a/auto/os/conf +++ b/auto/os/conf
@@ -110,7 +110,7 @@ NGX_MACH_CACHE_LINE=64 ;; - aarch64 ) + aarch64 | arm64) have=NGX_ALIGNMENT value=16 . auto/define NGX_MACH_CACHE_LINE=64 ;;