]> git.kaiwu.me - nginx.git/commitdiff
add sun4v
authorIgor Sysoev <igor@sysoev.ru>
Thu, 5 Oct 2006 20:06:03 +0000 (20:06 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Thu, 5 Oct 2006 20:06:03 +0000 (20:06 +0000)
auto/cc/sunc

index e4ea868d80189a9e5a7b0514f8e97d86d40ef762..00c0674a384958c4defeeb5477ea9a257ee9c248 100644 (file)
@@ -13,9 +13,9 @@ echo " + Sun C version: $NGX_SUNC_VER"
 have=NGX_COMPILER value="\"Sun C $NGX_SUNC_VER\"" . auto/define
 
 
-case "$NGX_PLATFORM" in
+case "$NGX_MACHINE" in
 
-    *:i86pc)
+    i86pc)
         ngx_feature="PAUSE hardware capability bug"
         ngx_feature_name=
         ngx_feature_run=bug
@@ -33,7 +33,7 @@ case "$NGX_PLATFORM" in
         NGX_AUX=" src/os/unix/ngx_sunpro_x86.il"
     ;;
 
-    *:sun4u)
+    sun4u | sun4v)
         # "-xarch=v9" enables the "casa" assembler instruction
         CFLAGS="$CFLAGS -xarch=v9"
         CORE_LINK="$CORE_LINK -xarch=v9"