ref: 53068810619bfac201c7950a5507da54f45f3f0b
parent: b20728cc8c15b9308dd7b7f17c099a58f642e81b
parent: f6e4ed6524ddf138625ec8219d347261746449ae
author: Ethan Hugg <[email protected]>
date: Wed Feb 19 13:16:49 EST 2014
Merge pull request #317 from licaiguo/enable-x86asm-android 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)