Set -Zi instead of -ZI when building with MSVC in debug mode
The -ZI option is only supported when building for 32 bit x86, when building for x64 or for arm, it gives the warning "/ZI is not supported on this platform; enabling /Zi instead". -ZI is for "edit & continue" debugging, which one probably wouldn't be doing with a build outside of the IDE anyway, so keep it simple instead of trying to set -ZI specifically for x86 32 bit builds.
This commit is contained in:
parent
b86e1f00b2
commit
a11fdcd647
@ -26,7 +26,7 @@ CFLAGS += -nologo -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope -D_VARIADIC_MAX
|
||||
CXX_LINK_O=-nologo -Fe$@
|
||||
AR_OPTS=-nologo -out:$@
|
||||
CFLAGS_OPT=-O2 -Ob1 -Oy- -Zi -GF -Gm- -GS -Gy -DNDEBUG
|
||||
CFLAGS_DEBUG=-Od -Oy- -ZI -RTC1 -D_DEBUG
|
||||
CFLAGS_DEBUG=-Od -Oy- -Zi -RTC1 -D_DEBUG
|
||||
CFLAGS_M32=
|
||||
CFLAGS_M64=
|
||||
LINK_LOCAL_DIR=
|
||||
|
Loading…
x
Reference in New Issue
Block a user