summaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
Diffstat (limited to 'libffi')
m---------libffi/build0
-rw-r--r--libffi/ghc.mk9
2 files changed, 5 insertions, 4 deletions
diff --git a/libffi/build b/libffi/build
deleted file mode 160000
-Subproject b841ae70a05a5e11de1fca1b4551189db0895cf
diff --git a/libffi/ghc.mk b/libffi/ghc.mk
index 08f5e4d40a..7c5bc9e1b3 100644
--- a/libffi/ghc.mk
+++ b/libffi/ghc.mk
@@ -50,8 +50,9 @@ $(libffi_STAMP_CONFIGURE): $(TOUCH_DEP)
$(call removeFiles,$(libffi_STAMP_STATIC_SHARED_CONFIGURE))
$(call removeFiles,$(libffi_STAMP_STATIC_SHARED_BUILD))
$(call removeFiles,$(libffi_STAMP_STATIC_SHARED_INSTALL))
- git clean -x -f -d libffi/build
- cd libffi/build && ./autogen.sh
+ $(call removeTrees,$(LIBFFI_DIR) libffi/build)
+ 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
@@ -122,10 +123,10 @@ $(libffi_STATIC_LIB): $(libffi_STAMP_INSTALL)
@test -f $@ || { echo "$< exists, but $@ does not."; echo "Suggest removing $<."; exit 1; }
$(libffi_HEADERS): $(libffi_STAMP_INSTALL) | $$(dir $$@)/.
- cp -f libffi/build/inst/include/$(notdir $@) $@
+ cp -f libffi/build/inst/lib/libffi-*/include/$(notdir $@) $@
$(eval $(call clean-target,libffi,, \
- $(wildcard libffi/stamp.ffi.*) libffi/dist-install))
+ libffi/build $(wildcard libffi/stamp.ffi.*) libffi/dist-install))
endif