summaryrefslogtreecommitdiffstats
path: root/core/combo/TARGET_linux-arm.mk
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2013-02-14 12:04:48 -0800
committerElliott Hughes <enh@google.com>2013-02-14 12:04:48 -0800
commit03d2aa4dd0adf85f240e98563ef399584baedb62 (patch)
tree3a068073abca1df577a771dda15166bd0d14517f /core/combo/TARGET_linux-arm.mk
parent07a58f8fef9ba3ce7454771049522e3fd75f4f6c (diff)
downloadbuild-03d2aa4dd0adf85f240e98563ef399584baedb62.zip
build-03d2aa4dd0adf85f240e98563ef399584baedb62.tar.gz
build-03d2aa4dd0adf85f240e98563ef399584baedb62.tar.bz2
Remove more always-true ARCH_ARM_HAVE_ flags.
All the remaining flags appear to be actually used. Change-Id: I0e3d84915487eda4f0e97809fc36624fef5f1848
Diffstat (limited to 'core/combo/TARGET_linux-arm.mk')
-rw-r--r--core/combo/TARGET_linux-arm.mk17
1 files changed, 1 insertions, 16 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index bc78174..cb10542 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -77,18 +77,11 @@ TARGET_arm_CFLAGS := -O2 \
-fstrict-aliasing \
-funswitch-loops
-# 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
-# compiled as ARM.
-ifeq ($(ARCH_ARM_HAVE_THUMB_SUPPORT),true)
+# Modules can choose to compile some source as thumb.
TARGET_thumb_CFLAGS := -mthumb \
-Os \
-fomit-frame-pointer \
-fno-strict-aliasing
-else
-TARGET_thumb_CFLAGS := $(TARGET_arm_CFLAGS)
-endif
# Set FORCE_ARM_DEBUGGING to "true" in your buildspec.mk
# or in your environment to force a full arm build, even for
@@ -147,15 +140,7 @@ TARGET_GLOBAL_LDFLAGS += \
-Wl,--icf=safe \
$(arch_variant_ldflags)
-# 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.
-ifeq ($(ARCH_ARM_HAVE_THUMB_SUPPORT),true)
TARGET_GLOBAL_CFLAGS += -mthumb-interwork
-else
-TARGET_GLOBAL_CFLAGS += -mno-thumb-interwork
-endif
TARGET_GLOBAL_CPPFLAGS += -fvisibility-inlines-hidden