From 415211fa4c850467b3e45b7cdb2405ac018dec77 Mon Sep 17 00:00:00 2001 From: Michael Brandt Date: Thu, 29 Jul 2010 13:25:49 +0200 Subject: Remove -mcpu=cortex-a9 switch Fixed Android's arm-eabi-gcc GCC 4.4 warning (see below) my removing the cpu switch. warning: switch -mcpu=cortex-a9 conflicts with -march= switch Note: This warning does not appear with the CodeSourcery GCC 4.4 (2009q3) and seems wrong since cortex-a9 is an implementation of ARMv7. Change-Id: I0b26dee03a6ea892f4d62ac0407c0893e372a90b Signed-off-by: Michael Brandt Change-Id: I08f0d3813074b6210a9c18d322ce5e147562c239 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/3358 Reviewed-by: Joakim AXELSSON Reviewed-by: Martin LUNDHOLM Tested-by: Martin LUNDHOLM --- cpu/arm_cortexa9/config.mk | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cpu') diff --git a/cpu/arm_cortexa9/config.mk b/cpu/arm_cortexa9/config.mk index 3036fa624..5987498ad 100755 --- a/cpu/arm_cortexa9/config.mk +++ b/cpu/arm_cortexa9/config.mk @@ -23,8 +23,7 @@ PLATFORM_RELFLAGS += -fno-strict-aliasing -fno-common -ffixed-r8 \ -msoft-float -# Make ARMv5 to allow more compilers to work, even though its v7a. -PLATFORM_CPPFLAGS += -march=armv7-a -mcpu=cortex-a9 +PLATFORM_CPPFLAGS += -march=armv7-a # ========================================================================= # # Supply options according to compiler version -- cgit v1.2.3