Merge "build: use correct arm vs thumb arguments for 2nd arch builds"

This commit is contained in:
Ying Wang 2014-01-24 21:42:42 +00:00 committed by Gerrit Code Review
commit 125ddab1fb
1 changed files with 1 additions and 1 deletions

View File

@ -281,7 +281,7 @@ endif
## Define arm-vs-thumb-mode flags.
###########################################################
LOCAL_ARM_MODE := $(strip $(LOCAL_ARM_MODE))
ifeq ($(TARGET_ARCH),arm)
ifeq ($(TARGET_$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH),arm)
arm_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),arm)
normal_objects_mode := $(if $(LOCAL_ARM_MODE),$(LOCAL_ARM_MODE),thumb)