aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2012-06-18 14:09:54 +0000
committerMaxim Dounin <mdounin@mdounin.ru>2012-06-18 14:09:54 +0000
commitc45bd10b1c0b602446c68bcf3845d67737aedea2 (patch)
tree877c3cf843918c7fc0c26397f95a4186ceb27c2c
parent40a366c5a8927ad152eec2ab5e65c1a1f70354e4 (diff)
downloadnginx-c45bd10b1c0b602446c68bcf3845d67737aedea2.tar.gz
nginx-c45bd10b1c0b602446c68bcf3845d67737aedea2.zip
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
-rw-r--r--auto/os/conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/auto/os/conf b/auto/os/conf
index 8c18a63fc..5e658b5f3 100644
--- a/auto/os/conf
+++ b/auto/os/conf
@@ -93,6 +93,7 @@ case "$NGX_MACHINE" in
;;
*)
+ have=NGX_ALIGNMENT value=16 . auto/define
NGX_MACH_CACHE_LINE=32
;;