diff --git a/core/combo/arch/arm/armv7-a-neon.mk b/core/combo/arch/arm/armv7-a-neon.mk index a928fe1f0..f2c1ca779 100644 --- a/core/combo/arch/arm/armv7-a-neon.mk +++ b/core/combo/arch/arm/armv7-a-neon.mk @@ -8,9 +8,13 @@ ARCH_ARM_HAVE_NEON := true ifeq ($(strip $(TARGET_CPU_VARIANT)), cortex-a15) arch_variant_cflags := -mcpu=cortex-a15 +else +ifeq ($(strip $(TARGET_CPU_VARIANT)),cortex-a7) + arch_variant_cflags := -mcpu=cortex-a7 else arch_variant_cflags := -march=armv7-a endif +endif arch_variant_cflags += \ -mfloat-abi=softfp \