sh: Use proper SH-2A CFLAGS on newer compilers.
authorPaul Mundt <lethal@linux-sh.org>
Tue, 19 Dec 2006 03:05:17 +0000 (12:05 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 13 Feb 2007 01:54:43 +0000 (10:54 +0900)
commit702dd80375046d36f892a0f86c83f8549c623b35
treea5b2114d64f00164ffce8591de7e266bb097e3ba
parentf413d0d9fa7abcecc40e115cf4aead372d164a75
sh: Use proper SH-2A CFLAGS on newer compilers.

-m2 doesn't end up working particularly well when we've got a constrained
toolchain target. Switch to the same semantics used by SH-4A to attempt
to get it right. Spotted by Alex Song <songqf9@yahoo.ca>.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Makefile