From: Marek Vasut Date: Sat, 14 Sep 2019 21:25:46 +0200 Subject: [U-Boot] [PATCH 2/4] sh: Fix SH4 build with GCC versions without -m4-nofpu In-Reply-To: <20190914192548.8203-1-marek.vasut+renesas@gmail.com> References: <20190914192548.8203-1-marek.vasut+renesas@gmail.com> Message-ID: <20190914192548.8203-2-marek.vasut+renesas@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Pass -m4 instead of -m4-nofpu to GCC versions which do not support the -m4-nofpu option. Signed-off-by: Marek Vasut Cc: Nobuhiro Iwamatsu --- arch/sh/cpu/sh4/config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/sh/cpu/sh4/config.mk b/arch/sh/cpu/sh4/config.mk index d62d285e60..23fec66492 100644 --- a/arch/sh/cpu/sh4/config.mk +++ b/arch/sh/cpu/sh4/config.mk @@ -6,4 +6,4 @@ # (C) Copyright 2007 # Nobuhiro Iwamatsu # -PLATFORM_CPPFLAGS += -m4-nofpu +PLATFORM_CPPFLAGS += $(call cc-option,-m4-nofpu,-m4) -- 2.23.0.rc1