Fix Trac #4003: fix the knot-tying in checkHiBootIface
[ghc-hetmet.git] / libffi / ghc.mk
index 3e00db2..12a67db 100644 (file)
@@ -113,14 +113,10 @@ endif
 
 ifneq "$(BINDIST)" "YES"
 $(libffi_STAMP_CONFIGURE):
-       "$(RM)" $(RM_OPTS) -r $(LIBFFI_DIR) libffi/build
+       "$(RM)" $(RM_OPTS_REC) $(LIBFFI_DIR) libffi/build
        cat ghc-tarballs/libffi/libffi*.tar.gz | $(GZIP) -d | { cd libffi && $(TAR) -xf - ; }
        mv libffi/libffi-* libffi/build
        chmod +x libffi/ln
-       cd libffi/build && "$(PATCH)" -p1 < ../libffi.dllize-3.0.8.patch
-       # This patch is just the resulting delta from running
-       # automake && autoreconf && libtoolize --force --copy
-       cd libffi/build && "$(PATCH)" -p1 < ../libffi.autotools-update-3.0.8.patch
 
 # Because -Werror may be in SRC_CC_OPTS/SRC_LD_OPTS, we need to turn
 # warnings off or the compilation of libffi might fail due to warnings