summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-15 19:17:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-15 19:17:46 +0000
commit830004196b10d057e786afd27f54e36f7a2ae813 (patch)
tree5bcbd8480e4fd4c9c0483518b640022bbf151450
parentd3f7b53c45dc09fb8b5831635edd0ff24ffca318 (diff)
downloadnginx-830004196b10d057e786afd27f54e36f7a2ae813.tar.gz
nginx-830004196b10d057e786afd27f54e36f7a2ae813.tar.bz2
fix building PCRE by SunStudio
-rw-r--r--auto/cc/sunc2
-rw-r--r--auto/lib/pcre/conf2
2 files changed, 2 insertions, 2 deletions
diff --git a/auto/cc/sunc b/auto/cc/sunc
index 9edc0d098..f4a1c0297 100644
--- 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"
;;
diff --git a/auto/lib/pcre/conf b/auto/lib/pcre/conf
index 667a16a1d..c966a284f 100644
--- a/auto/lib/pcre/conf
+++ b/auto/lib/pcre/conf
@@ -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"