]> git.kaiwu.me - nginx.git/commitdiff
Configure: recognize arm64 machine name as a synonym for aarch64.
authorSergey Kandaurov <pluknet@nginx.com>
Fri, 29 Apr 2022 13:38:01 +0000 (17:38 +0400)
committerSergey Kandaurov <pluknet@nginx.com>
Fri, 29 Apr 2022 13:38:01 +0000 (17:38 +0400)
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

index 7c6cb691a00fec4cf164074d480da54fcb084194..d7f6e03824b2206c7f92108da723954073f2b2af 100644 (file)
@@ -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
     ;;