summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2007-07-21 06:23:58 +0000
committerIgor Sysoev <igor@sysoev.ru>2007-07-21 06:23:58 +0000
commitaa5c021ad54193d0aad55387e7f2737d87c0a973 (patch)
treee26af93e64a8d562d82a9ed6090d038cbbe1f908
parentf4283a91f1ece830a337cf4480a6fa976bf820a2 (diff)
downloadnginx-aa5c021ad54193d0aad55387e7f2737d87c0a973.tar.gz
nginx-aa5c021ad54193d0aad55387e7f2737d87c0a973.tar.bz2
fix building on amd64 and add -xipo to the link stage
-rw-r--r--auto/cc/sunc3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto/cc/sunc b/auto/cc/sunc
index f40d8aa7e..f7eb8800d 100644
--- a/auto/cc/sunc
+++ b/auto/cc/sunc
@@ -74,6 +74,7 @@ esac
IPO=-xipo
CFLAGS="$CFLAGS -fast $IPO"
+CORE_LINK="$CORE_LINK -fast $IPO"
case $CPU in
@@ -128,7 +129,7 @@ case $CPU in
# build 64-bit amd64 binary
CPU_OPT="$ngx_amd64"
CORE_LINK="$CORE_LINK $ngx_amd64"
- CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_amd4"
+ CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_amd64"
NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il"
NGX_CPU_CACHE_LINE=64
;;