sh: Fix SH4 build with GCC versions without -m4-nofpu

Pass -m4 instead of -m4-nofpu to GCC versions which do not support
the -m4-nofpu option.

Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
Marek Vasut 2019-09-14 19:05:38 +02:00 committed by Marek Vasut
parent e914109de4
commit fa7cff834f

View File

@ -6,4 +6,4 @@
# (C) Copyright 2007
# Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
#
PLATFORM_CPPFLAGS += -m4-nofpu
PLATFORM_CPPFLAGS += $(call cc-option,-m4-nofpu,-m4)