From: Igor Sysoev Date: Thu, 5 Oct 2006 20:06:03 +0000 (+0000) Subject: add sun4v X-Git-Tag: release-0.4.6~3 X-Git-Url: http://git.kaiwu.me/%7B@url%7D?a=commitdiff_plain;h=6c5c4d0eec6487f72976095e7518b47d5ea324b4;p=nginx.git add sun4v --- diff --git a/auto/cc/sunc b/auto/cc/sunc index e4ea868d8..00c0674a3 100644 --- a/auto/cc/sunc +++ b/auto/cc/sunc @@ -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"