comparison auto/cc/gcc @ 110:dad2fe8ecf08 NGINX_0_3_2

nginx 0.3.2 *) 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 <http://sysoev.ru>
date Wed, 12 Oct 2005 00:00:00 +0400
parents 45f7329b4bd0
children 408f195b3482
comparison
equal deleted inserted replaced
109:97da525033a1 110:dad2fe8ecf08
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)