mirror of
https://github.com/nginx/nginx.git
synced 2024-12-28 09:51:04 -06:00
fix building on amd64 and add -xipo to the link stage
This commit is contained in:
parent
f4283a91f1
commit
aa5c021ad5
@ -74,6 +74,7 @@ esac
|
|||||||
|
|
||||||
IPO=-xipo
|
IPO=-xipo
|
||||||
CFLAGS="$CFLAGS -fast $IPO"
|
CFLAGS="$CFLAGS -fast $IPO"
|
||||||
|
CORE_LINK="$CORE_LINK -fast $IPO"
|
||||||
|
|
||||||
|
|
||||||
case $CPU in
|
case $CPU in
|
||||||
@ -128,7 +129,7 @@ case $CPU in
|
|||||||
# build 64-bit amd64 binary
|
# build 64-bit amd64 binary
|
||||||
CPU_OPT="$ngx_amd64"
|
CPU_OPT="$ngx_amd64"
|
||||||
CORE_LINK="$CORE_LINK $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_AUX=" src/os/unix/ngx_sunpro_amd64.il"
|
||||||
NGX_CPU_CACHE_LINE=64
|
NGX_CPU_CACHE_LINE=64
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user