-# Modules can choose to compile some source as thumb. As
-# non-thumb enabled targets are supported, this is treated
-# as a 'hint'. If thumb is not enabled, these files are just
+# Modules can choose to compile some source as thumb.
TARGET_thumb_CFLAGS := -mthumb \
-TARGET_thumb_CFLAGS := $(TARGET_arm_CFLAGS)
# Set FORCE_ARM_DEBUGGING to "true" in your buildspec.mk
# or in your environment to force a full arm build, even for
-# We only need thumb interworking in cases where thumb support
-# is available in the architecture, and just to be sure, (and
-# since sometimes thumb-interwork appears to be default), we
-# specifically disable when thumb support is unavailable.
TARGET_GLOBAL_CFLAGS += -mthumb-interwork
-TARGET_GLOBAL_CFLAGS += -mno-thumb-interwork
TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden