Tom Rini | 83d290c | 2018-05-06 17:58:06 -0400 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0+ |
wdenk | 42d1f03 | 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 | 42d1f03 | 2003-10-15 23:53:47 +0000 | [diff] [blame] | 5 | |
Masahiro Yamada | c6d1262 | 2014-07-30 14:08:24 +0900 | [diff] [blame] | 6 | PLATFORM_CPPFLAGS += -Wa,-me500 -msoft-float -mno-string |
Joakim Tjernlund | 45e81f9 | 2018-12-06 17:20:53 +0100 | [diff] [blame] | 7 | PLATFORM_RELFLAGS += -msingle-pic-base -fno-jump-tables |
Leon Woestenberg | da0e5f7 | 2009-10-26 10:03:32 +0100 | [diff] [blame] | 8 | |
| 9 | # -mspe=yes is needed to have -mno-spe accepted by a buggy GCC; |
| 10 | # see "[PATCH,rs6000] make -mno-spe work as expected" on |
| 11 | # http://gcc.gnu.org/ml/gcc-patches/2008-04/msg00311.html |
Masahiro Yamada | de04d64 | 2013-11-26 10:53:58 +0900 | [diff] [blame] | 12 | PLATFORM_CPPFLAGS += $(call cc-option,-mspe=yes) \ |
Wolfgang Denk | cca4e4a | 2011-11-01 20:54:02 +0000 | [diff] [blame] | 13 | $(call cc-option,-mno-spe) |