From b60038ccabff484172bd39098afc7f7af3b9b3c0 Mon Sep 17 00:00:00 2001 From: Scott Wood Date: Tue, 19 Jul 2016 16:26:21 -0500 Subject: [PATCH] powerpc/86xx: Pass -mcpu=7400 to GCC Without this, GCC uses the toolchain default, which may be incompatible with -maltivec. Signed-off-by: Scott Wood Reviewed-by: York Sun --- arch/powerpc/cpu/mpc86xx/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/powerpc/cpu/mpc86xx/config.mk b/arch/powerpc/cpu/mpc86xx/config.mk index 69a0b96ead..aefb0f1fb4 100644 --- a/arch/powerpc/cpu/mpc86xx/config.mk +++ b/arch/powerpc/cpu/mpc86xx/config.mk @@ -5,4 +5,4 @@ # SPDX-License-Identifier: GPL-2.0+ # -PLATFORM_CPPFLAGS += -mstring -maltivec -mabi=altivec -msoft-float +PLATFORM_CPPFLAGS += -mcpu=7400 -mstring -maltivec -mabi=altivec -msoft-float -- 2.39.5