Hi,

The attached patch is to fix libffi build failure for
sh4-unknown-linux-gnu.  Without it, configure fails with:

configure: error: "libffi has not been ported to sh4-unknown-linux-gnu."

on that target.  OK for trunk?

Regards,
        kaz
--
2015-01-13  Kaz Kojima  <kkoj...@gcc.gnu.org>

        * configure.host: Remove extra brackets for sh.

diff --git a/configure.host b/configure.host
index 90de638..4952345 100644
--- a/configure.host
+++ b/configure.host
@@ -194,7 +194,7 @@ case "${host}" in
        SOURCES="ffi.c sysv.S"
        ;;
 
-  sh-*-* | sh[[34]]*-*-*)
+  sh-*-* | sh[34]*-*-*)
        TARGET=SH; TARGETDIR=sh
        SOURCES="ffi.c sysv.S"
        ;;

Reply via email to