2018-05-06 21:58:06 +00:00
|
|
|
# SPDX-License-Identifier: GPL-2.0+
|
2003-10-15 23:53:47 +00:00
|
|
|
#
|
|
|
|
# (C) Copyright 2002,2003 Motorola Inc.
|
|
|
|
# Xianghua Xiao, X.Xiao@motorola.com
|
|
|
|
|
2014-07-30 05:08:24 +00:00
|
|
|
PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string
|
2018-12-06 16:20:53 +00:00
|
|
|
PLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables
|
2009-10-26 09:03:32 +00:00
|
|
|
|
|
|
|
# -mspe=yes is needed to have -mno-spe accepted by a buggy GCC;
|
|
|
|
# see "[PATCH,rs6000] make -mno-spe work as expected" on
|
|
|
|
# http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html
|
2013-11-26 01:53:58 +00:00
|
|
|
PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \
|
2011-11-01 20:54:02 +00:00
|
|
|
$(call cc-option,-mno-spe)
|