comparison auto/cc/msvc @ 1639:7d125a707158

msvc8 compatibility: it can not build with debug under Wine
author Igor Sysoev <igor@sysoev.ru>
date Thu, 15 Nov 2007 14:22:12 +0000
parents 59abcddc013a
children 73a132c47076
comparison
equal deleted inserted replaced
1638:59abcddc013a 1639:7d125a707158
89 # Win32 GUI mode application 89 # Win32 GUI mode application
90 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib" 90 CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib"
91 CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup" 91 CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
92 92
93 # debug 93 # debug
94 CFLAGS="$CFLAGS -Zi" 94 if [ $NGX_CC_NAME != msvc8 ]; then
95 CORE_LINK="$CORE_LINK -debug" 95 CFLAGS="$CFLAGS -Zi"
96 CORE_LINK="$CORE_LINK -debug"
97 fi
96 98
97 99
98 # precompiled headers 100 # precompiled headers
99 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch" 101 CORE_DEPS="$CORE_DEPS $NGX_OBJS/ngx_config.pch"
100 NGX_PCH="$NGX_OBJS/ngx_config.pch" 102 NGX_PCH="$NGX_OBJS/ngx_config.pch"