shithub: openh264

Download patch

ref: f6e4ed6524ddf138625ec8219d347261746449ae
parent: b20728cc8c15b9308dd7b7f17c099a58f642e81b
author: Licai Guo <guolicai@gmail.com>
date: Wed Feb 19 12:31:21 EST 2014

enable x86 asm for android

--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -18,6 +18,11 @@
     GCCPATHPREFIX = x86
     GCCPREFIX = i686-linux-android
     APP_ABI = x86
+ifeq (Yes, $(USE_ASM))
+    ASM = nasm
+    CFLAGS += -DX86_ASM
+    ASMFLAGS += -DNOPREFIX -f elf32 -DX86_32
+endif
 endif
 
 SYSROOT = $(NDKROOT)/platforms/android-$(APILEVEL)/arch-$(ARCH)