Commit 036c9679d25cba87e7b82dc18d6f5f939d9806dd

Authored by Tom Rini
Committed by Marek Vasut
1 parent f0f6917188

sh: Use -m2a-nofpu only

Based on reading over the GCC manual, passing both -m2a and -m2a-nofpu
are redundant, as -m2a-nofpu will provide functional code for both.  As
-m2a-nofpu functions with more toolchains and does what is expected,
switch.

Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Signed-off-by: Tom Rini <trini@konsulko.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

arch/sh/cpu/sh2/config.mk
... ... @@ -8,7 +8,7 @@
8 8 ENDIANNESS += -EB
9 9  
10 10 ifdef CONFIG_CPU_SH2A
11   -PLATFORM_CPPFLAGS += -m2a -m2a-nofpu -mb
  11 +PLATFORM_CPPFLAGS += -m2a-nofpu -mb
12 12 else # SH2
13 13 PLATFORM_CPPFLAGS += -m3e -mb
14 14 endif