blob: 72c964cd151c89eab2ed5fcaec2011ac975df687 [file] [log] [blame]
wdenk42d1f032003-10-15 23:53:47 +00001#
2# (C) Copyright 2002,2003 Motorola Inc.
3# Xianghua Xiao, X.Xiao@motorola.com
4#
Wolfgang Denk1a459662013-07-08 09:37:19 +02005# SPDX-License-Identifier: GPL-2.0+
wdenk42d1f032003-10-15 23:53:47 +00006#
7
Masahiro Yamadade04d642013-11-26 10:53:58 +09008PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
Leon Woestenbergda0e5f72009-10-26 10:03:32 +01009
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
Masahiro Yamadade04d642013-11-26 10:53:58 +090013PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
Wolfgang Denkcca4e4a2011-11-01 20:54:02 +000014 $(call cc-option,-mno-spe)