Skip to content
Snippets Groups Projects
Commit 9ae78b0a authored by Herbert Valerio Riedel's avatar Herbert Valerio Riedel :man_dancing:
Browse files

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.
parent add6a303
No related branches found
No related tags found
No related merge requests found
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment