Browse Source

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 <oss@buserror.net>
Reviewed-by: York Sun <york.sun@nxp.com>
Scott Wood 8 years ago
parent
commit
b60038ccab
1 changed files with 1 additions and 1 deletions
  1. 1 1
      arch/powerpc/cpu/mpc86xx/config.mk

+ 1 - 1
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