[commit: ghc] master: Copy GHC's config.guess/sub over libffi's versions (9ae78b0)

git at git.haskell.org git at git.haskell.org
Sat Dec 27 08:12:09 UTC 2014


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9ae78b0ac20199982b994122889a04c6124e01b2/ghc

>---------------------------------------------------------------

commit 9ae78b0ac20199982b994122889a04c6124e01b2
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sat Dec 27 09:11:16 2014 +0100

    Copy GHC's config.guess/sub over libffi's versions
    
    This should address #9924 as GHC's config.guess/sub versions need to be
    up to date anyway.


>---------------------------------------------------------------

9ae78b0ac20199982b994122889a04c6124e01b2
 libffi/ghc.mk | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index ec37f0c..abbe87f 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -58,6 +58,10 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
 	cat libffi-tarballs/libffi*.tar.gz | $(GZIP_CMD) -d | { cd libffi && $(TAR_CMD) -xf - ; }
 	mv libffi/libffi-* libffi/build
 
+# update config.guess/config.sub
+	$(CP) "$(TOP)/config.guess" libffi/build/config.guess
+	$(CP) "$(TOP)/config.sub"   libffi/build/config.sub
+
 # We have to fake a non-working ln for configure, so that the fallback
 # option (cp -p) gets used instead.  Otherwise the libffi build system
 # will use cygwin symbolic links which cannot be read by mingw gcc.



More information about the ghc-commits mailing list