shithub: openh264

Download patch

ref: b1f35347eba91d93894be5c2b424fbf82c9c0c9c
parent: d3fab249b2c257e9899533d311207600b48f78f7
author: Martin Storsjö <[email protected]>
date: Fri Apr 11 06:14:31 EDT 2014

Set -MTd/-MDd in the same way as -MT/-MD

This was overlooked in 67e5b04.

--- a/build/platform-msvc-arm.mk
+++ b/build/platform-msvc-arm.mk
@@ -1,5 +1,6 @@
 include build/platform-msvc-common.mk
 CFLAGS_OPT += -MD
+CFLAGS_DEBUG += -MDd
 ARCH=arm
 include build/platform-arch.mk
 CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP -MD -DWIN32
--- a/build/platform-msvc-common.mk
+++ b/build/platform-msvc-common.mk
@@ -6,7 +6,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 -Gm -MDd -RTC1 -D_DEBUG
+CFLAGS_DEBUG=-Od -Oy- -ZI -Gm -RTC1 -D_DEBUG
 CFLAGS_M32=
 CFLAGS_M64=
 LINK_LIB=$(1).lib
--- a/build/platform-msvc.mk
+++ b/build/platform-msvc.mk
@@ -2,6 +2,7 @@
 include build/platform-msvc-common.mk
 LDFLAGS += user32.lib
 CFLAGS_OPT += -MT
+CFLAGS_DEBUG += -MTd
 ifeq ($(ENABLE64BIT), Yes)
 ASMFLAGS += -f win64
 ASMFLAGS_PLATFORM = -DWIN64