mirror of
https://github.com/nginx/nginx.git
synced 2025-02-25 18:55:26 -06:00
msvc8 compatibility: it can not build with debug under Wine
This commit is contained in:
@@ -91,8 +91,10 @@ CORE_LIBS="$CORE_LIBS kernel32.lib user32.lib"
|
||||
CORE_LINK="$CORE_LINK -subsystem:windows -entry:mainCRTStartup"
|
||||
|
||||
# debug
|
||||
CFLAGS="$CFLAGS -Zi"
|
||||
CORE_LINK="$CORE_LINK -debug"
|
||||
if [ $NGX_CC_NAME != msvc8 ]; then
|
||||
CFLAGS="$CFLAGS -Zi"
|
||||
CORE_LINK="$CORE_LINK -debug"
|
||||
fi
|
||||
|
||||
|
||||
# precompiled headers
|
||||
|
||||
Reference in New Issue
Block a user