shithub: openh264

Download patch

ref: 8892e99fbc2bc1ba1cab402c0e80c19f0633723d
parent: 2011a7407e64a0a9300337831c71f8ce6bd2db1d
parent: 00e9293433a2f7eb14bcd7446a8608a493a0e502
author: ekr <[email protected]>
date: Fri Jan 17 09:16:17 EST 2014

Merge pull request #161 from ethanhugg/msvc_flags

Update msvc options from VS projects.

--- a/build/platform-msvc-common.mk
+++ b/build/platform-msvc-common.mk
@@ -1,11 +1,11 @@
 CXX=cl
 AR=lib
 CXX_O=-Fo$@
-CFLAGS += -nologo
+CFLAGS += -nologo -W3 -EHsc -fp:precise -Zc:wchar_t -Zc:forScope
 CXX_LINK_O=-nologo -Fe$@
 AR_OPTS=-nologo -out:$@
-CFLAGS_OPT=-O2
-CFLAGS_DEBUG=
+CFLAGS_OPT=-O2 -Ob1 -Oy- -Zi -GF -Gm- -GS -Gy -MD -DNDEBUG
+CFLAGS_DEBUG=-Od -Oy- -ZI -Gm -MDd -RTC1 -D_DEBUG
 CFLAGS_M32=
 CFLAGS_M64=
 LINK_LIB=$(1).lib