shithub: openh264

Download patch

ref: e8e2cbcc2892b791bea15f9b2824a6deb96b4cce
parent: 4635232d936195c8561d1abfd102779e2c8e427f
author: Martin Storsjö <[email protected]>
date: Thu May 8 07:44:39 EDT 2014

Revert "Set ASM_ARCH in all cases to fix Win64 Debug build"

This reverts commit 09025dc8ef3e20403ad2a925287e6b418851f778.

There is no need to set ASM_ARCH unless assembly sources actually
are built. ASM_ARCH is no longer used for setting unrelated CFLAGS.

--- a/build/platform-x86-common.mk
+++ b/build/platform-x86-common.mk
@@ -17,7 +17,7 @@
 endif
 ifeq ($(USE_ASM),Yes)
 CFLAGS += -DX86_ASM
-endif
 ASM_ARCH = x86
+endif
 ASM = nasm
 ASMFLAGS += $(ASMFLAGS_PLATFORM)