shithub: openh264

Download patch

ref: 17f9c22a3e62222b2c5f999afc8746672ab6ddfa
parent: dcf08c6d413b0c9b56fef0b8602049c6a58b184b
author: Martin Storsjö <martin@martin.st>
date: Fri Dec 13 08:50:04 EST 2013

Include the platform makefile before adding defines for x86 asm

This fixes building with BUILDTYPE=Release on OS X.

--- a/Makefile
+++ b/Makefile
@@ -19,11 +19,11 @@
 USE_ASM = No
 endif
 
+include build/platform-$(UNAME).mk
+
 ifeq ($(USE_ASM),Yes)
   CFLAGS += -DX86_ASM
 endif
-
-include build/platform-$(UNAME).mk
 
 CFLAGS += -DNO_DYNAMIC_VP -DHAVE_CACHE_LINE_ALIGN
 LDFLAGS +=