[patch] libffi i?86 FreeBSD/OpenBSD

Andreas Tobler andreast-list@fgznet.ch
Mon Dec 21 16:15:00 GMT 2009


Hi all,

this patch allows to build gcc libffi for i?86-*-freebsd* and 
i?86-*-openbsd instead of only i386-*-*bsd*.

Tested on i686-*-freebsd9.

This patch is already in the libffi sources.

Ok for trunk?

Thanks,
Andreas

2009-12-21  Andreas Tobler  <a.tobler@schweiz.org>

	* configure.ac: Make i?86 build on FreeBSD and OpenBSD.
	* configure: Regenerate.

Index: configure.ac
===================================================================
--- configure.ac	(revision 155371)
+++ configure.ac	(working copy)
@@ -73,7 +73,7 @@
  	TARGET=PA_HPUX; TARGETDIR=pa
  	;;

-  i386-*-freebsd* | i386-*-openbsd*)
+  i?86-*-freebsd* | i?86-*-openbsd*)
  	TARGET=X86_FREEBSD; TARGETDIR=x86
  	;;
    i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)



More information about the Java-patches mailing list