Commit:     702dd80375046d36f892a0f86c83f8549c623b35
Parent:     f413d0d9fa7abcecc40e115cf4aead372d164a75
Author:     Paul Mundt <[EMAIL PROTECTED]>
AuthorDate: Tue Dec 19 12:05:17 2006 +0900
Committer:  Paul Mundt <[EMAIL PROTECTED]>
CommitDate: Tue Feb 13 10:54:43 2007 +0900

    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 <[EMAIL PROTECTED]>.
    Signed-off-by: Paul Mundt <[EMAIL PROTECTED]>
 arch/sh/Makefile |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/arch/sh/Makefile b/arch/sh/Makefile
index c1dbef2..4903c7c 100644
--- a/arch/sh/Makefile
+++ b/arch/sh/Makefile
@@ -35,6 +35,7 @@ endif
 cflags-$(CONFIG_CPU_SH2)               := -m2
+cflags-$(CONFIG_CPU_SH2A)              := -m2a $(call cc-option,-m2a-nofpu,)
 cflags-$(CONFIG_CPU_SH3)               := -m3
 cflags-$(CONFIG_CPU_SH4)               := -m4 \
        $(call cc-option,-mno-implicit-fp,-m4-nofpu)
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at

Reply via email to