commit | 49d58ddd722c6ed9bed70c909e350ce21c2d1cbe | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 04 21:17:03 2013 +0400 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Sep 04 21:17:03 2013 +0400 |
tree | eb0ecf628025c067fd652b8bdedb078cd0007201 | |
parent | 3d1e616d0bb9278a0291cc0a2a11178e1c1d9710 [diff] [blame] |
Configure: fixed building with Sun C if CFLAGS set (ticket #65).
diff --git a/auto/cc/conf b/auto/cc/conf index 8027b98..edc6d74 100644 --- a/auto/cc/conf +++ b/auto/cc/conf
@@ -43,6 +43,29 @@ 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