From 1acd38af2e8bbee1f1e22a64b8a7409dc0b5fc87 Mon Sep 17 00:00:00 2001 From: Maxim Dounin Date: Mon, 18 Jun 2012 14:09:54 +0000 Subject: [PATCH] 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 --- auto/os/conf | 1 + 1 file changed, 1 insertion(+) 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 ;;