mirror of
https://github.com/nginx/nginx.git
synced 2025-01-19 10:02:59 +08:00
Configure: fixed building with Sun C if CFLAGS set (ticket #65).
This commit is contained in:
parent
3d1e616d0b
commit
49d58ddd72
23
auto/cc/conf
23
auto/cc/conf
@ -43,6 +43,29 @@ if test -n "$CFLAGS"; then
|
||||
ngx_include_opt="-I"
|
||||
;;
|
||||
|
||||
sunc)
|
||||
|
||||
case "$NGX_MACHINE" in
|
||||
|
||||
i86pc)
|
||||
NGX_AUX=" src/os/unix/ngx_sunpro_x86.il"
|
||||
;;
|
||||
|
||||
sun4u | sun4v)
|
||||
NGX_AUX=" src/os/unix/ngx_sunpro_sparc64.il"
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
case $CPU in
|
||||
|
||||
amd64)
|
||||
NGX_AUX=" src/os/unix/ngx_sunpro_amd64.il"
|
||||
;;
|
||||
|
||||
esac
|
||||
;;
|
||||
|
||||
esac
|
||||
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user