fix building PCRE by SunStudio
author |
Igor Sysoev <igor@sysoev.ru> |
date |
Sun, 15 Jul 2007 19:17:46 +0000 |
parents |
56af40ef3a08 |
children |
63fa39cf8bd0 |
files |
auto/cc/sunc auto/lib/pcre/conf |
diffstat |
2 files changed, 2 insertions(+), 2 deletions(-)
[+]
|
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"
;;
--- 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"