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