sh: Don't let SH-4A clobber SH-4 CFLAGS.
commitaab1b16a61d653173b1c5f158c51ec08dd6605b0
authorPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2007 00:48:54 +0000 (12 09:48 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2007 00:48:54 +0000 (12 09:48 +0900)
treea81a3c67cfb132f0a3834d15a6fbe8285701ee38
parent1b898040e214d1f5acd3baf14f07ef5f610d5c8a
sh: Don't let SH-4A clobber SH-4 CFLAGS.

Older compilers don't support the -m4a{,nofpu} flags, which has the
side-effect of allowing FP operations to be emitted. Switch this to
incremental tuning, so we at least have -m4-nofpu as a fallback for
the gcc3 toolchains.

Without this, certain modules emit references to __udivsi3_i4 and
__sdivsi3_i4.

Reported-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile