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