From 830004196b10d057e786afd27f54e36f7a2ae813 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Sun, 15 Jul 2007 19:17:46 +0000 Subject: [PATCH] fix building PCRE by SunStudio --- auto/cc/sunc | 2 +- auto/lib/pcre/conf | 2 +- 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"