comparison auto/cc/gcc @ 36:a39d1b793287 NGINX_0_1_18

nginx 0.1.18 *) Workaround: the default values of the devpoll_events and the devpoll_changes directives changed from 512 to 32 to be compatible with Solaris 10. *) Bugfix: the proxy_set_x_var and fastcgi_set_var directives were not inherited. *) Bugfix: in the redirect rewrite directive the arguments were concatenated with URI by the "&" rather than the "?". *) Bugfix: the lines without trailing ";" in the file being included by the ngx_http_geo_module were silently ignored. *) Feature: the ngx_http_stub_status_module. *) Bugfix: the unknown log format in the access_log directive caused the segmentation fault. *) Feature: the new "document_root" parameter of the fastcgi_params directive. *) Feature: the fastcgi_redirect_errors directive. *) Feature: the new "break" modifier of the "rewrite" directive allows to stop the rewrite/location cycle and sets the current configuration to the request.
author Igor Sysoev <http://sysoev.ru>
date Wed, 09 Feb 2005 00:00:00 +0300
parents aab2ea7c0458
children 9f3205d496a0
comparison
equal deleted inserted replaced
35:ef53675fe4a6 36:a39d1b793287
25 fi 25 fi
26 26
27 27
28 # optimizations 28 # optimizations
29 29
30 #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" 30 #NGX_GCC_OPT="-O2"
31 #CFLAGS="$CFLAGS -Os -fomit-frame-pointer" 31 #NGX_GCC_OPT="-Os"
32 NGX_GCC_OPT="-O"
33
34 CFLAGS="$CFLAGS $NGX_GCC_OPT"
35
36 #CFLAGS="$CFLAGS -fomit-frame-pointer"
32 37
33 case $CPU in 38 case $CPU in
34 pentium) 39 pentium)
35 # optimize for Pentium and Athlon 40 # optimize for Pentium and Athlon
36 CPU_OPT="-march=pentium" 41 CPU_OPT="-march=pentium"
81 fi 86 fi
82 87
83 88
84 # warnings 89 # warnings
85 90
86 CFLAGS="$CFLAGS -O -W" 91 # -W requires at least -O
92 CFLAGS="$CFLAGS ${NGX_GCC_OPT:-O} -W"
93
87 CFLAGS="$CFLAGS -Wall -Wpointer-arith" 94 CFLAGS="$CFLAGS -Wall -Wpointer-arith"
88 #CFLAGS="$CFLAGS -Wconversion" 95 #CFLAGS="$CFLAGS -Wconversion"
89 #CFLAGS="$CFLAGS -Winline" 96 #CFLAGS="$CFLAGS -Winline"
90 97
91 # we have a lot of the unused function arguments 98 # we have a lot of the unused function arguments
101 #CFLAGS="$CFLAGS -g -gstabs" 108 #CFLAGS="$CFLAGS -g -gstabs"
102 109
103 if [ ".$CPP" = "." ]; then 110 if [ ".$CPP" = "." ]; then
104 CPP="$CC -E" 111 CPP="$CC -E"
105 fi 112 fi
106
107 LINK="\$(CC)"