comparison auto/cc/icc @ 4:4b2dafa26fe2 NGINX_0_1_2

nginx 0.1.2 *) Feature: the --user=USER, --group=GROUP, and --with-ld-opt=OPTIONS options in configure. *) Feature: the server_name directive supports *.domain.tld. *) Bugfix: the portability improvements. *) Bugfix: if configuration file was set in command line, the reconfiguration was impossible; bug appeared in 0.1.1. *) Bugfix: proxy module may get caught in an endless loop when sendfile is not used. *) Bugfix: with sendfile the response was not recoded according to the charset module directives; bug appeared in 0.1.1. *) Bugfix: very seldom bug in the kqueue processing. *) Bugfix: the gzip module compressed the proxied responses that was already compressed.
author Igor Sysoev <http://sysoev.ru>
date Thu, 21 Oct 2004 00:00:00 +0400
parents
children 46833bd150cb
comparison
equal deleted inserted replaced
3:8beaf7b3241f 4:4b2dafa26fe2
1
2 # Copyright (C) Igor Sysoev
3
4
5 # Intel C++ compiler 7.1, 8.0
6
7 # optimizations
8
9 CFLAGS="$CFLAGS -O"
10 # inline functions declared with __inline
11 #CFLAGS="$CFLAGS -Ob1"
12 # inline any function, at the compiler's discretion
13 CFLAGS="$CFLAGS -Ob2"
14
15 # single-file IP optimizations
16 #IPO="-ip"
17 # multi-file IP optimizations
18 IPO="-ipo -ipo_obj"
19 CFLAGS="$CFLAGS $IPO"
20 CORE_LINK="$CORE_LINK $IPO"
21 CORE_LINK="$CORE_LINK -opt_report_file=$OBJS/opt_report_file"
22
23 case $CPU in
24 pentium)
25 # optimize for Pentium and Athlon
26 CPU_OPT="-march=pentium"
27 ;;
28
29 pentiumpro)
30 # optimize for Pentium Pro, Pentium II and Pentium III
31 CPU_OPT="-mcpu=pentiumpro -march=pentiumpro"
32 ;;
33
34 pentium4)
35 # optimize for Pentium 4, default
36 CPU_OPT="-march=pentium4"
37 ;;
38 esac
39
40 CFLAGS="$CFLAGS $CPU_OPT"
41
42 if [ ".$PCRE_OPT" = "." ]; then
43 PCRE_OPT="-O $IPO $CPU_OPT"
44 fi
45
46 if [ ".$MD5_OPT" = "." ]; then
47 MD5_OPT="-O $IPO $CPU_OPT"
48 fi
49
50 if [ ".$ZLIB_OPT" = "." ]; then
51 ZLIB_OPT="-O $IPO $CPU_OPT"
52 fi
53
54
55 # warnings
56
57 CFLAGS="$CFLAGS -w1"
58 #CFLAGS="$CFLAGS -w2"
59
60 # stop on warning
61 CFLAGS="$CFLAGS -Werror"
62
63 # debug
64 CFLAGS="$CFLAGS -g"
65
66 LINK="\$(CC)"
67
68
69 CC_STRONG="-w1 -Werror"