]> git.ipfire.org Git - ipfire-3.x.git/commitdiff
Did some gcc tweaks to build tar.
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Oct 2008 10:37:43 +0000 (12:37 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 12 Oct 2008 10:37:43 +0000 (12:37 +0200)
lfs/tar

diff --git a/lfs/tar b/lfs/tar
index aaf7b6144da1c04bbe02506c0ec2bc19a12e252b..d250e4ee8b5de40531d4cf575ab9416c53cd59dd 100644 (file)
--- a/lfs/tar
+++ b/lfs/tar
@@ -61,8 +61,12 @@ ifeq "$(STAGE)" "toolchain"
 endif
 
 ifeq "$(STAGE)" "base"
-       cd $(DIR_APP) && ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin
-               cd $(DIR_APP) && make $(PARALLELISMFLAGS)
+       cd $(DIR_APP) && CC="gcc -std=gnu99 -fgnu89-inline" \
+               ./configure \
+                       --prefix=/usr \
+                       --bindir=/bin \
+                       --libexecdir=/usr/sbin
+       cd $(DIR_APP) && make $(PARALLELISMFLAGS)
        cd $(DIR_APP) && make install
 endif