[commit: ghc] ghc-7.10: Copy GHC's config.guess/sub over libffi's versions (a643559)

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


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

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/a643559150fa6fe3842beaabc4b20f4edb42a18a/ghc

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

commit a643559150fa6fe3842beaabc4b20f4edb42a18a
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.
    
    (cherry picked from commit 9ae78b0ac20199982b994122889a04c6124e01b2)


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

a643559150fa6fe3842beaabc4b20f4edb42a18a
 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