comparison auto/cc/msvc @ 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 # MSVC 6.0 SP2
6
7 # optimizations
8
9 # maximize speed
10 CFLAGS="$CFLAGS -O2"
11 # enable global optimization
12 CFLAGS="$CFLAGS -Og"
13 # enable intrinsic functions
14 CFLAGS="$CFLAGS -Oi"
15 # inline expansion
16 CFLAGS="$CFLAGS -Ob1"
17 # enable frame pointer omission
18 CFLAGS="$CFLAGS -Oy"
19 # disable stack checking calls
20 CFLAGS="$CFLAGS -Gs"
21
22 case $CPU in
23 pentium)
24 # optimize for Pentium and Athlon
25 CPU_OPT="-G5"
26 ;;
27
28 pentiumpro)
29 # optimize for Pentium Pro, Pentium II and Pentium III
30 CPU_OPT="-G6"
31 ;;
32
33 pentium4)
34 # optimize for Pentium 4
35 #CPU_OPT="-G7"
36 ;;
37 esac
38
39 CFLAGS="$CFLAGS $CPU_OPT"
40
41
42 # warnings
43
44 #CFLAGS="$CFLAGS -W3"
45 CFLAGS="$CFLAGS -W4"
46
47 # stop on warning
48 CFLAGS="$CFLAGS -WX"
49
50 # link with libcmt.lib, multithreaded
51 #LIBC="-MT"
52 # link with msvcrt.dll
53 LIBC="-MD"
54
55 CFLAGS="$CFLAGS $LIBC"
56
57 # disable logo
58 CFLAGS="$CFLAGS -nologo"
59
60 LINK="\$(CC)"
61
62 # link flags
63 CORE_LINK="$CORE_LINK -link -verbose:lib"
64
65 # debug
66 CFLAGS="$CFLAGS -Yd"
67 CORE_LINK="$CORE_LINK -debug -debugtype:coff"
68
69 # precompiled headers
70 CORE_DEPS="$CORE_DEPS $OBJS/ngx_config.pch"
71 NGX_PCH="$OBJS/ngx_config.pch"
72 NGX_BUILD_PCH="-Ycngx_config.h -Fp$OBJS/ngx_config.pch"
73 NGX_USE_PCH="-Yungx_config.h -Fp$OBJS/ngx_config.pch"
74
75 ngx_objout="-Fo"
76 ngx_binout="-Fe"
77 ngx_objext="obj"
78 ngx_binext=".exe"
79
80 #ngx_regex_dirsep='\\'
81 #ngx_dirsep="\\"