# HG changeset patch # User Igor Sysoev # Date 1185612492 0 # Node ID d77866cf2cc4bd7747dfef1e9fa78f2f992646ed # Parent be2e13691c609e3d423f5767c91fa5af4887606f fix building on amd64 by Sun Studio 11 and more early versions diff --git a/auto/cc/sunc b/auto/cc/sunc --- a/auto/cc/sunc +++ b/auto/cc/sunc @@ -39,7 +39,7 @@ if [ "$ngx_sunc_ver" -ge 1424 ]; then else ngx_sparc32="-xarch=v8plus" ngx_sparc64="-xarch=v9" - ngx_amd64="-amd64" + ngx_amd64="-xarch=amd64" fi case "$NGX_MACHINE" in