From 8f4a18feaf917e9a052dc5dcc53fa3891626a293 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Fri, 15 Sep 2006 19:33:55 +0000 Subject: [PATCH] disable [ PAUSE ] hwcap for Sun Studio 11 --- auto/cc/sunc | 3 +++ src/os/unix/ngx_sunpro_x86.map | 2 ++ 2 files changed, 5 insertions(+) create mode 100644 src/os/unix/ngx_sunpro_x86.map diff --git a/auto/cc/sunc b/auto/cc/sunc index 9d400a2ea..a9e32c283 100644 --- a/auto/cc/sunc +++ b/auto/cc/sunc @@ -15,6 +15,9 @@ have=NGX_COMPILER value="\"Sun C $NGX_SUNC_VER\"" . auto/define 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 index 000000000..a73f2289c --- /dev/null +++ b/src/os/unix/ngx_sunpro_x86.map @@ -0,0 +1,2 @@ +# disable { PAUSE ] hwcap for Sun Studio 11 +hwcap_1 = OVERRIDE;