Tom Rini | 10e4779 | 2018-05-06 17:58:06 -0400 | [diff] [blame^] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 2 | # |
| 3 | # (C) Copyright 2002,2003 Motorola Inc. |
| 4 | # Xianghua Xiao, X.Xiao@motorola.com |
wdenk | 9c53f40 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 5 | |
Masahiro Yamada | f36ffc4 | 2014-07-30 14:08:24 +0900 | [diff] [blame] | 6 | PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string |
Leon Woestenberg | 15bf283 | 2009-10-26 10:03:32 +0100 | [diff] [blame] | 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 |
Masahiro Yamada | 0573359 | 2013-11-26 10:53:58 +0900 | [diff] [blame] | 11 | PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \ |
Wolfgang Denk | 9209ed5 | 2011-11-01 20:54:02 +0000 | [diff] [blame] | 12 | $(call cc-option,-mno-spe) |