ref: 567302eb9ae735353da4edca8bd4a75a287640f4
parent: 7a26142fca56e85040076b31a1cbd61c783e7340
parent: 30fff7ece0abb2511faa90bf8af438cefea5c9f0
author: Ethan Hugg <ethanhugg@gmail.com>
date: Mon Mar 10 05:44:19 EDT 2014
Merge pull request #410 from mstorsjo/android-armeabi Allow building plain armeabi binaries for android
--- a/build/platform-android.mk
+++ b/build/platform-android.mk
@@ -3,10 +3,12 @@
SHAREDLIBSUFFIX = so
NDKLEVEL = 12
ifeq ($(ARCH), arm)
+ ifneq ($(APP_ABI), armeabi)
CFLAGS += -march=armv7-a -mfloat-abi=softfp
CFLAGS += -mfpu=vfpv3-d16
LDFLAGS += -march=armv7-a -Wl,--fix-cortex-a8
APP_ABI = armeabi-v7a
+ endif
TOOLCHAINPREFIX = $(shell NDK_PROJECT_PATH=./codec/build/android/dec make --no-print-dir -f $(NDKROOT)/build/core/build-local.mk DUMP_TOOLCHAIN_PREFIX APP_ABI=armeabi)
ifeq (Yes, $(USE_ASM))
ASMFLAGS += -march=armv7-a -mfpu=neon