Sun Studio patch

Igor Sysoev is at rambler-co.ru
Fri Sep 15 23:33:19 MSD 2006


Патч позволяет собрать nginx без hwcap с помощью Sun Studio 11.
Нужно проверить, как будет себя вести

1) Sun Studio 11 на amd64
2) Sun Studio 10 и младше на i386 и amd64.


Игорь Сысоев
http://sysoev.ru
-------------- next part --------------
Index: src/os/unix/ngx_sunpro_x86.map
===================================================================
--- src/os/unix/ngx_sunpro_x86.map	(revision 0)
+++ src/os/unix/ngx_sunpro_x86.map	(revision 0)
@@ -0,0 +1,2 @@
+# disable { PAUSE ] hwcap for Sun Studio 11
+hwcap_1 = OVERRIDE; 
Index: auto/cc/sunc
===================================================================
--- auto/cc/sunc	(revision 16)
+++ auto/cc/sunc	(working copy)
@@ -15,6 +15,9 @@
 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"
     ;;
 


More information about the nginx-ru mailing list