]> git.kaiwu.me - nginx.git/commitdiff
disable [ PAUSE ] hwcap for Sun Studio 11
authorIgor Sysoev <igor@sysoev.ru>
Fri, 15 Sep 2006 19:33:55 +0000 (19:33 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 15 Sep 2006 19:33:55 +0000 (19:33 +0000)
auto/cc/sunc
src/os/unix/ngx_sunpro_x86.map [new file with mode: 0644]

index 9d400a2ea5814d88cbb3f820720e47ac58468c55..a9e32c2832c216fa0e4c07c477dd51e31f18dcfb 100644 (file)
@@ -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 (file)
index 0000000..a73f228
--- /dev/null
@@ -0,0 +1,2 @@
+# disable { PAUSE ] hwcap for Sun Studio 11
+hwcap_1 = OVERRIDE;