mirror of
https://github.com/nginx/nginx.git
synced 2026-05-13 17:46:53 +00:00
Changed default alignment to 16.
This fixes alignment problems observerd on ARMs, and likely also needed for MIPSes. Unless we know alignment is not required just assume we need 16, which appears to be safe default for all architectures. See here for details: http://mailman.nginx.org/pipermail/nginx/2012-June/034139.html
This commit is contained in:
parent
40a366c5a8
commit
c45bd10b1c
1 changed files with 1 additions and 0 deletions
|
|
@ -93,6 +93,7 @@ case "$NGX_MACHINE" in
|
|||
;;
|
||||
|
||||
*)
|
||||
have=NGX_ALIGNMENT value=16 . auto/define
|
||||
NGX_MACH_CACHE_LINE=32
|
||||
;;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue