-mthumb-interwork is no longer working with API 23

-mthumb-interwork is no longer working with API 23 because it uses clang for v7a
https://developer.android.com/ndk/guides/standalone_toolchain.html
This commit is contained in:
Andrés Suárez 2016-11-06 01:17:44 -05:00 committed by GitHub
parent ac2c080d21
commit c8d8685ced

View File

@ -11,11 +11,11 @@ LOCAL_CFLAGS += -DANDROID_ARM
#default to thumb because its smaller and more can fit in the cpu cache
LOCAL_ARM_MODE := thumb
#switch to arm or thumb instruction set per function based on speed(dont restrict to only arm or thumb use both)
LOCAL_CFLAGS += -mthumb-interwork
#LOCAL_CFLAGS += -mthumb-interwork
#enable/disable optimization
ifeq ($(TARGET_ARCH_ABI),armeabi-v7a)
LOCAL_CFLAGS += -munaligned-access
LOCAL_CFLAGS += -munaligned-access
V7NEONOPTIMIZATION ?= 0
else ifeq ($(TARGET_ARCH_ABI),arm64-v8a)
#neon is a requirement for armv8 so just enable it