summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
authorBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-25 16:59:46 +0100
committerBernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>2015-03-25 16:59:46 +0100
commita24a9a8e6266829b39f8dd44a4e31a12b4a69df0 (patch)
tree7af68b26e2af7727687a02abdd16dc16dce7f375 /core/clang
parent5d60719e42fdc0d007920d946f1c1bb440cedab7 (diff)
downloadbuild-a24a9a8e6266829b39f8dd44a4e31a12b4a69df0.zip
build-a24a9a8e6266829b39f8dd44a4e31a12b4a69df0.tar.gz
build-a24a9a8e6266829b39f8dd44a4e31a12b4a69df0.tar.bz2
Allow -mcpu=cortex-a15 for clang
Clang 3.6 (including the snapshot present in AOSP) added support for -mcpu=cortex-a15 -- there's no need to fall back to generic armv7-a anymore. Change-Id: I8a582261ac35e32f8f1def1d244cf83f2096520d Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/arm.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/clang/arm.mk b/core/clang/arm.mk
index f76a182..bf31f51 100644
--- a/core/clang/arm.mk
+++ b/core/clang/arm.mk
@@ -40,6 +40,5 @@ CLANG_CONFIG_arm_UNKNOWN_CFLAGS := \
define subst-clang-incompatible-arm-flags
$(subst -march=armv5te,-march=armv5t,\
$(subst -march=armv5e,-march=armv5,\
- $(subst -mcpu=cortex-a15,-march=armv7-a,\
- $(1))))
+ $(1)))
endef