xref: /openbmc/u-boot/arch/powerpc/cpu/mpc85xx/config.mk (revision 83d290c56fab2d38cd1ab4c4cc7099559c1d5046)
1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
2a47a12beSStefan Roese#
3a47a12beSStefan Roese# (C) Copyright 2002,2003 Motorola Inc.
4a47a12beSStefan Roese# Xianghua Xiao, X.Xiao@motorola.com
5a47a12beSStefan Roese
6c6d12624SMasahiro YamadaPLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
7a47a12beSStefan Roese
8a47a12beSStefan Roese# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
9a47a12beSStefan Roese# see "[PATCH,rs6000] make -mno-spe work as expected" on
10a47a12beSStefan Roese# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
11de04d64eSMasahiro YamadaPLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
12cca4e4aeSWolfgang Denk		   $(call cc-option,-mno-spe)
13