]> git.kaiwu.me - nginx.git/commitdiff
fix building PCRE by SunStudio
authorIgor Sysoev <igor@sysoev.ru>
Sun, 15 Jul 2007 19:17:46 +0000 (19:17 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Sun, 15 Jul 2007 19:17:46 +0000 (19:17 +0000)
auto/cc/sunc
auto/lib/pcre/conf

index 9edc0d09820ecc8f9a469f72c6bffdc29f42a140..f4a1c02977d7acecbe07cacbe76850b482b6f432 100644 (file)
@@ -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"
     ;;
index 667a16a1daa43217e2e2efec4b10d06fcd527d21..c966a284f65fd70a4c1de1b3324fbb8f9f3c76dd 100644 (file)
@@ -17,7 +17,7 @@ if [ $PCRE != NONE ]; then
             CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib"
         ;;
 
-        icc* | sunc )
+        icc* )
             have=NGX_PCRE . auto/have
             CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"