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
7PLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables
8
9# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
10# see "[PATCH,rs6000] make -mno-spe work as expected" on
11# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
12PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
13		   $(call cc-option,-mno-spe)
14