Mercurial > hg > nginx
comparison auto/cc @ 345:fade4edd61f8
nginx-0.0.3-2004-06-04-18:57:33 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Fri, 04 Jun 2004 14:57:33 +0000 |
parents | 6bdf858bff8c |
children | 55e496a8ece3 |
comparison
equal
deleted
inserted
replaced
344:e366ba5db8f8 | 345:fade4edd61f8 |
---|---|
2 CFLAGS="$CFLAGS $CC_OPT" | 2 CFLAGS="$CFLAGS $CC_OPT" |
3 | 3 |
4 case $CC in | 4 case $CC in |
5 | 5 |
6 *gcc*) | 6 *gcc*) |
7 # gcc 2.7.2.3, 2.8.1, 2.95.4, 3.3.2, 3.3.3, 3.4 | 7 # gcc 2.7.2.3, 2.8.1, 2.95.4, |
8 # 3.2.3, 3.3.2, 3.3.3, 3.3.4, 3.4 | |
8 | 9 |
9 # optimization | 10 # optimization |
10 #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" | 11 #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" |
11 | 12 |
12 case $CPU in | 13 case $CPU in |
87 CC_STRONG="$CC -Wall -Werror" | 88 CC_STRONG="$CC -Wall -Werror" |
88 ;; | 89 ;; |
89 | 90 |
90 | 91 |
91 *icc) | 92 *icc) |
92 # Intel C++ compiler 7.1 | 93 # Intel C++ compiler 7.1, 8.0 |
93 | 94 |
94 # optimization | 95 # optimization |
95 CFLAGS="$CFLAGS -O" | 96 CFLAGS="$CFLAGS -O" |
96 # inline functions declared with __inline | 97 # inline functions declared with __inline |
97 #CFLAGS="$CFLAGS -Ob1" | 98 #CFLAGS="$CFLAGS -Ob1" |
239 #DIRSEP='\\' | 240 #DIRSEP='\\' |
240 ;; | 241 ;; |
241 | 242 |
242 | 243 |
243 wcl386) | 244 wcl386) |
244 # Open Watcom C 1.0 | 245 # Open Watcom C 1.0, 1.2 |
245 | 246 |
246 # optimization | 247 # optimization |
247 | 248 |
248 # maximize speed | 249 # maximize speed |
249 CFLAGS="$CFLAGS -ot" | 250 CFLAGS="$CFLAGS -ot" |