comparison auto/cc/sunc @ 1324:d01f9856e3a0

fix building on amd64 and add -xipo to the link stage
author Igor Sysoev <igor@sysoev.ru>
date Sat, 21 Jul 2007 06:23:58 +0000
parents 08c6ee7a1b11
children d77866cf2cc4
comparison
equal deleted inserted replaced
1323:c4b2c893989d 1324:d01f9856e3a0
72 72
73 # optimizations 73 # optimizations
74 74
75 IPO=-xipo 75 IPO=-xipo
76 CFLAGS="$CFLAGS -fast $IPO" 76 CFLAGS="$CFLAGS -fast $IPO"
77 CORE_LINK="$CORE_LINK -fast $IPO"
77 78
78 79
79 case $CPU in 80 case $CPU in
80 pentium) 81 pentium)
81 # optimize for Pentium and Athlon 82 # optimize for Pentium and Athlon
126 127
127 amd64) 128 amd64)
128 # build 64-bit amd64 binary 129 # build 64-bit amd64 binary
129 CPU_OPT="$ngx_amd64" 130 CPU_OPT="$ngx_amd64"
130 CORE_LINK="$CORE_LINK $ngx_amd64" 131 CORE_LINK="$CORE_LINK $ngx_amd64"
131 CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_amd4" 132 CC_AUX_FLAGS="$CC_AUX_FLAGS $ngx_amd64"
132 NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il" 133 NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il"
133 NGX_CPU_CACHE_LINE=64 134 NGX_CPU_CACHE_LINE=64
134 ;; 135 ;;
135 136
136 esac 137 esac