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