powerpc/86xx: Pass -mcpu=7400 to GCC
authorScott Wood <oss@buserror.net>
Tue, 19 Jul 2016 21:26:21 +0000 (16:26 -0500)
committerYork Sun <york.sun@nxp.com>
Mon, 25 Jul 2016 19:51:16 +0000 (12:51 -0700)
Without this, GCC uses the toolchain default, which may be incompatible
with -maltivec.

Signed-off-by: Scott Wood <oss@buserror.net>
Reviewed-by: York Sun <york.sun@nxp.com>
arch/powerpc/cpu/mpc86xx/config.mk

index 69a0b96..aefb0f1 100644 (file)
@@ -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