]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
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 69a0b96eadb742918daa651a0c210eca612f474a..aefb0f1fb4ffeae8af4b19e4786323ff511e7fa6 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