shithub: openh264

Download patch

ref: a11fdcd647f916cf2a9fda2be1916c452b38a3d3
parent: b86e1f00b2d6cd06eae0c8321754ef53190f2400
author: Martin Storsjö <martin@martin.st>
date: Wed Jul 9 11:13:41 EDT 2014

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.

--- a/build/platform-msvc-common.mk
+++ b/build/platform-msvc-common.mk
@@ -26,7 +26,7 @@
 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=