1#
2# (C) Copyright 2002,2003 Motorola Inc.
3# Xianghua Xiao, X.Xiao@motorola.com
4#
5# SPDX-License-Identifier:	GPL-2.0+
6#
7
8PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
9
10# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
11# see "[PATCH,rs6000] make -mno-spe work as expected" on
12# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
13PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
14		   $(call cc-option,-mno-spe)
15