wdenk | 42d1f03 | 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 | 1a45966 | 2013-07-08 09:37:19 +0200 | [diff] [blame] | 5 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 6 | # |
| 7 | |
Masahiro Yamada | de04d64 | 2013-11-26 10:53:58 +0900 | [diff] [blame^] | 8 | PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string |
Leon Woestenberg | da0e5f7 | 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 | de04d64 | 2013-11-26 10:53:58 +0900 | [diff] [blame^] | 13 | PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \ |
Wolfgang Denk | cca4e4a | 2011-11-01 20:54:02 +0000 | [diff] [blame] | 14 | $(call cc-option,-mno-spe) |