comparison auto/cc/msvc @ 7488:955c4b186354

Win32: defined pdb path. By default, MSVC uses vc<version>.pdb in the current directory. With the "-Fd" switch it is directed to be in the objs directory instead.
author Maxim Dounin <mdounin@mdounin.ru>
date Thu, 04 Apr 2019 19:30:47 +0300
parents b7b7f3a0cc28
children 17b3efb45b17
comparison
equal deleted inserted replaced
7487:7da71a7b141a 7488:955c4b186354
106 106
107 # debug 107 # debug
108 # msvc under Wine issues 108 # msvc under Wine issues
109 # C1902: Program database manager mismatch; please check your installation 109 # C1902: Program database manager mismatch; please check your installation
110 if [ -z "$NGX_WINE" ]; then 110 if [ -z "$NGX_WINE" ]; then
111 CFLAGS="$CFLAGS -Zi" 111 CFLAGS="$CFLAGS -Zi -Fd$NGX_OBJS/nginx.pdb"
112 CORE_LINK="$CORE_LINK -debug" 112 CORE_LINK="$CORE_LINK -debug"
113 fi 113 fi
114 114
115 115
116 # MSVC 2005 supports C99 variadic macros 116 # MSVC 2005 supports C99 variadic macros