]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Also apply this patch to toolchain-tar.
authorMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Apr 2009 22:37:09 +0000 (00:37 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Thu, 23 Apr 2009 22:37:09 +0000 (00:37 +0200)
lfs/tar

diff --git a/lfs/tar b/lfs/tar
index db33028df2487f9c4c19ff8cd9ea7bf6f2ac76eb..3cbb62f67aa8aafd1b8101899649a3df2fafdccf 100644 (file)
--- 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 \