Mercurial > hg > nginx
comparison auto/cc/gcc @ 561:e48ebafc6939 release-0.3.2
nginx-0.3.2-RELEASE import
*) Feature: the Sun Studio 10 C compiler support.
*) Feature: the "proxy_upstream_max_fails",
"proxy_upstream_fail_timeout", "fastcgi_upstream_max_fails", and
"fastcgi_upstream_fail_timeout" directives.
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Wed, 12 Oct 2005 13:50:36 +0000 |
parents | ecd9c160f25b |
children | 9c2f3ed7a247 |
comparison
equal
deleted
inserted
replaced
560:8886091eddd2 | 561:e48ebafc6939 |
---|---|
31 | 31 |
32 if [ $ngx_found = yes ]; then | 32 if [ $ngx_found = yes ]; then |
33 PIPE="-pipe" | 33 PIPE="-pipe" |
34 fi | 34 fi |
35 | 35 |
36 | |
37 case "$NGX_PLATFORM" in | |
38 | |
39 *:sun4u) | |
40 # "-mcpu=v9" enables the "casxa" assembler instruction | |
41 CFLAGS="$CFLAGS -mcpu=v9" | |
42 ;; | |
43 | |
44 esac | |
45 | |
46 | |
36 # optimizations | 47 # optimizations |
37 | 48 |
38 #NGX_GCC_OPT="-O2" | 49 #NGX_GCC_OPT="-O2" |
39 #NGX_GCC_OPT="-Os" | 50 #NGX_GCC_OPT="-Os" |
40 NGX_GCC_OPT="-O" | 51 NGX_GCC_OPT="-O" |
47 pentium) | 58 pentium) |
48 # optimize for Pentium and Athlon | 59 # optimize for Pentium and Athlon |
49 CPU_OPT="-march=pentium" | 60 CPU_OPT="-march=pentium" |
50 ;; | 61 ;; |
51 | 62 |
52 pentiumpro) | 63 pentiumpro | pentium3) |
53 # optimize for Pentium Pro, Pentium II and Pentium III | 64 # optimize for Pentium Pro, Pentium II and Pentium III |
54 CPU_OPT="-march=pentiumpro" | 65 CPU_OPT="-march=pentiumpro" |
55 ;; | 66 ;; |
56 | 67 |
57 pentium4) | 68 pentium4) |