This is the mail archive of the
libffi-discuss@sourceware.org
mailing list for the libffi project.
[patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: Anthony Green <green at moxielogic dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libffi-discuss at sourceware dot org
- Date: Tue, 13 Jan 2015 14:38:39 +0900 (JST)
- Subject: [patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu
- Authentication-results: sourceware.org; auth=none
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 <kkojima@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"
;;