diff mbox

[RFA,libffi,SH] Fix configure error for sh4-unknown-linux-gnu

Message ID 20150113.143839.316693206.kkojima@rr.iij4u.or.jp
State New
Headers show

Commit Message

Kaz Kojima Jan. 13, 2015, 5:38 a.m. UTC
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.

Comments

Richard Henderson Jan. 13, 2015, 3:21 p.m. UTC | #1
On 01/12/2015 09:38 PM, Kaz Kojima wrote:
> 2015-01-13  Kaz Kojima  <kkojima@gcc.gnu.org>
> 
> 	* configure.host: Remove extra brackets for sh.

Ok, thanks.


r~
diff mbox

Patch

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"
 	;;