Mercurial > hg > nginx
comparison auto/cc @ 363:f2755a2885c8
nginx-0.0.7-2004-06-21-23:22:53 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Mon, 21 Jun 2004 19:22:53 +0000 |
parents | 55e496a8ece3 |
children | 42d11f017717 |
comparison
equal
deleted
inserted
replaced
362:7650aea1816f | 363:f2755a2885c8 |
---|---|
5 | 5 |
6 *gcc*) | 6 *gcc*) |
7 # gcc 2.7.2.3, 2.8.1, 2.95.4, | 7 # gcc 2.7.2.3, 2.8.1, 2.95.4, |
8 # 3.0.4, 3.1.1, 3.2.3, 3.3.2, 3.3.3, 3.3.4, 3.4 | 8 # 3.0.4, 3.1.1, 3.2.3, 3.3.2, 3.3.3, 3.3.4, 3.4 |
9 | 9 |
10 # optimization | 10 # optimizations |
11 #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" | 11 #CFLAGS="$CFLAGS -O2 -fomit-frame-pointer" |
12 | 12 |
13 case $CPU in | 13 case $CPU in |
14 pentium) | 14 pentium) |
15 # optimize for Pentium and Athlon | 15 # optimize for Pentium and Athlon |
90 | 90 |
91 | 91 |
92 *icc) | 92 *icc) |
93 # Intel C++ compiler 7.1, 8.0 | 93 # Intel C++ compiler 7.1, 8.0 |
94 | 94 |
95 # optimization | 95 # optimizations |
96 CFLAGS="$CFLAGS -O" | 96 CFLAGS="$CFLAGS -O" |
97 # inline functions declared with __inline | 97 # inline functions declared with __inline |
98 #CFLAGS="$CFLAGS -Ob1" | 98 #CFLAGS="$CFLAGS -Ob1" |
99 # inline any function, at the compiler's discretion | 99 # inline any function, at the compiler's discretion |
100 CFLAGS="$CFLAGS -Ob2" | 100 CFLAGS="$CFLAGS -Ob2" |
163 | 163 |
164 | 164 |
165 cl) | 165 cl) |
166 # MSVC 6.0 SP2 | 166 # MSVC 6.0 SP2 |
167 | 167 |
168 # optimization | 168 # optimizations |
169 | 169 |
170 # maximize speed | 170 # maximize speed |
171 CFLAGS="$CFLAGS -O2" | 171 CFLAGS="$CFLAGS -O2" |
172 # enable global optimization | 172 # enable global optimization |
173 CFLAGS="$CFLAGS -Og" | 173 CFLAGS="$CFLAGS -Og" |
242 | 242 |
243 | 243 |
244 wcl386) | 244 wcl386) |
245 # Open Watcom C 1.0, 1.2 | 245 # Open Watcom C 1.0, 1.2 |
246 | 246 |
247 # optimization | 247 # optimizations |
248 | 248 |
249 # maximize speed | 249 # maximize speed |
250 CFLAGS="$CFLAGS -ot" | 250 CFLAGS="$CFLAGS -ot" |
251 # reorder instructions for best pipeline usage | 251 # reorder instructions for best pipeline usage |
252 CFLAGS="$CFLAGS -op" | 252 CFLAGS="$CFLAGS -op" |
323 | 323 |
324 | 324 |
325 bcc32) | 325 bcc32) |
326 # Borland C++ 5.5 | 326 # Borland C++ 5.5 |
327 | 327 |
328 # optimization | 328 # optimizations |
329 | 329 |
330 # maximize speed | 330 # maximize speed |
331 CFLAGS="$CFLAGS -O2" | 331 CFLAGS="$CFLAGS -O2" |
332 | 332 |
333 case $CPU in | 333 case $CPU in |