From: Michael Tremer Date: Thu, 23 Apr 2009 22:37:09 +0000 (+0200) Subject: Also apply this patch to toolchain-tar. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d293b8b88447b5fdf7bb63fee8ed70d4d933afa3;p=ipfire-3.x.git Also apply this patch to toolchain-tar. --- diff --git a/lfs/tar b/lfs/tar index db33028df..3cbb62f67 100644 --- a/lfs/tar +++ b/lfs/tar @@ -82,6 +82,10 @@ $(OBJECT) : @$(PREBUILD) @rm -rf $(DIR_APP) && cd $(DIR_SRC) && $(EXTRACTOR) $(DIR_DL)/$(DL_FILE) + # Fix extracting sparse files to a filesystem like vfat, when ftruncate + # may fail to grow the size of a file + cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-vfatTruncate.patch + ifeq "$(STAGE)" "toolchain" # Normally the 'rmt' programs goes in sbin/. cd $(DIR_APP) && \ @@ -94,12 +98,8 @@ ifeq "$(STAGE)" "toolchain" endif ifeq "$(STAGE)" "base" - cd $(DIR_APP) && CC="gcc -std=gnu99 -fgnu89-inline" \ - - # Fix extracting sparse files to a filesystem like vfat, when ftruncate may fail to grow the size of a file - cd $(DIR_APP) && patch -Np1 -i $(DIR_PATCHES)/$(THISAPP)-vfatTruncate.patch - cd $(DIR_APP) && \ + CC="gcc -std=gnu99 -fgnu89-inline" \ ./configure \ $(CONFIGURE_ARCH) \ --prefix=/usr \