shithub: openh264

Download patch

ref: 239f42a924ac5a53654e069b02a177d6b3d5acdf
parent: c27c02bc0abc5cf0d975d715c848db1c189cea1e
author: Martin Storsjö <martin@martin.st>
date: Tue Apr 29 07:03:17 EDT 2014

Don't build all object files with -ZW, only the one that needs it

This reduces the build time from 69 s to 30 s, reduces the size of
the built wels.lib from 30 MB to 3.9 MB, and reduces the number of
warnings when building wels.lib.

--- a/build/platform-msvc-wp.mk
+++ b/build/platform-msvc-wp.mk
@@ -3,6 +3,8 @@
 CFLAGS_OPT += -MD
 CFLAGS_DEBUG += -MDd
 CFLAGS += -DWINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP
-CXXFLAGS += -ZW
+CXXFLAGS +=
 LDFLAGS +=
+
+codec/common/src/WelsThreadLib.$(OBJ): CXXFLAGS += -ZW