From a24a9a8e6266829b39f8dd44a4e31a12b4a69df0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bernhard=20Rosenkr=C3=A4nzer?= Date: Wed, 25 Mar 2015 16:59:46 +0100 Subject: [PATCH] Allow -mcpu=cortex-a15 for clang MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- core/clang/arm.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/core/clang/arm.mk b/core/clang/arm.mk index f76a1825c..bf31f51bf 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