public inbox for libffi-discuss@sourceware.org
 help / color / mirror / Atom feed
* [patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu
@ 2015-01-13  5:38 Kaz Kojima
  2015-01-13 15:21 ` Richard Henderson
  0 siblings, 1 reply; 2+ messages in thread
From: Kaz Kojima @ 2015-01-13  5:38 UTC (permalink / raw)
  To: Anthony Green; +Cc: gcc-patches, libffi-discuss

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu
  2015-01-13  5:38 [patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu Kaz Kojima
@ 2015-01-13 15:21 ` Richard Henderson
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Henderson @ 2015-01-13 15:21 UTC (permalink / raw)
  To: Kaz Kojima, Anthony Green; +Cc: gcc-patches, libffi-discuss

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~

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-01-13 15:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-13  5:38 [patch RFA libffi SH] Fix configure error for sh4-unknown-linux-gnu Kaz Kojima
2015-01-13 15:21 ` Richard Henderson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).