fix building PCRE by SunStudio
diff --git a/auto/cc/sunc b/auto/cc/sunc
index 9edc0d0..f4a1c02 100644
--- a/auto/cc/sunc
+++ b/auto/cc/sunc
@@ -36,7 +36,7 @@
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"
;;
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index 667a16a..c966a28 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -17,7 +17,7 @@
CORE_LIBS="$CORE_LIBS $PCRE/pcre.lib"
;;
- icc* | sunc )
+ icc* )
have=NGX_PCRE . auto/have
CORE_DEPS="$CORE_DEPS $PCRE/pcre.h"