# HG changeset patch # User Igor Sysoev # Date 1158348835 0 # Node ID 36c51f8f0f4dfd550e2a5ac1f789ccce0095a0b1 # Parent 703978149e7047848e7e96d0e79b966aebc4a332 disable [ PAUSE ] hwcap for Sun Studio 11 diff --git a/auto/cc/sunc b/auto/cc/sunc --- a/auto/cc/sunc +++ b/auto/cc/sunc @@ -15,6 +15,9 @@ have=NGX_COMPILER value="\"Sun C $NGX_SU case "$NGX_PLATFORM" in *:i86pc) + # disable [ PAUSE ] hwcap for Sun Studio 11 + CORE_LINK="$CORE_LINK -Msrc/os/unix/ngx_sunpro_x86.map" + NGX_AUX=" src/os/unix/ngx_sunpro_x86.il" ;; diff --git a/src/os/unix/ngx_sunpro_x86.map b/src/os/unix/ngx_sunpro_x86.map new file mode 100644 --- /dev/null +++ b/src/os/unix/ngx_sunpro_x86.map @@ -0,0 +1,2 @@ +# disable { PAUSE ] hwcap for Sun Studio 11 +hwcap_1 = OVERRIDE;