diff auto/cc/sunc @ 1307:811fb97b9bf7

fix building PCRE by SunStudio
author Igor Sysoev <igor@sysoev.ru>
date Sun, 15 Jul 2007 19:17:46 +0000
parents 7af8276b1c2f
children 63fa39cf8bd0
line wrap: on
line diff
--- a/auto/cc/sunc
+++ b/auto/cc/sunc
@@ -36,7 +36,7 @@ case "$NGX_MACHINE" in
 
     sun4u | sun4v)
         # "-xarch=v9" enables the "casa" assembler instruction
-        CFLAGS="$CFLAGS -xarch=v9"
+        CPU_OPT="-xarch=v9"
         CORE_LINK="$CORE_LINK -xarch=v9"
         NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il"
     ;;