aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Sack <asac@linaro.org>2011-06-10 12:22:14 +0200
committerAlexander Sack <asac@linaro.org>2011-06-10 12:22:14 +0200
commit2cba9cdebb4d1d04e766a22ed45eaab7b2d12b85 (patch)
tree89c5a58b96199184b9d74c09e1d4247e9ab62a15
parent64f8af3312ed6a618d70bad55ef8ccc2eb7197f6 (diff)
downloadbuild-dev_toolchain_preview.tar.gz
Revert "TARGET_linux-arm.mk: use plain -O2 without any additional optimizations"dev_toolchain_preview
This reverts commit 9da6b59725e52f5fcf8de320e253958df249f28e.
-rw-r--r--core/combo/TARGET_linux-arm.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/combo/TARGET_linux-arm.mk b/core/combo/TARGET_linux-arm.mk
index 15f06525e3..ae1997c4f4 100644
--- a/core/combo/TARGET_linux-arm.mk
+++ b/core/combo/TARGET_linux-arm.mk
@@ -55,7 +55,11 @@ TARGET_LD := $(TARGET_TOOLS_PREFIX)ld$(HOST_EXECUTABLE_SUFFIX)
TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined
-TARGET_arm_CFLAGS := -O2
+TARGET_arm_CFLAGS := -O2 \
+ -fomit-frame-pointer \
+ -fstrict-aliasing \
+ -funswitch-loops \
+ -finline-limit=300
# Modules can choose to compile some source as thumb. As
# non-thumb enabled targets are supported, this is treated