From f7b70da35a82eb5bce92b91172fd8d033256c4c9 Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 2 Feb 2002 18:27:00 +0000 Subject: [PATCH] changed bzip2's instructions to "export CC...make...unset CC" instead of "make CC=..." git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1537 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 +++++ chapter05/bzip2-inst.xml | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 1aa22f2de..57e2e8360 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -24,6 +24,11 @@ +February 2nd, 2002 [gerard]: Chapter 5 - Bzip2: Instead of +running make CC="gcc -static" we run export +CC="gcc-static" && make && unset CC. This is more compatible with +some old distributions. + February 2nd, 2002 [gerard]: Chapter 6 - Gzip: Removed the compress symlink. Gzip can uncompress .Z files but it can't compress into that format. diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml index 3dab1cf4c..3c66a8e8a 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -3,7 +3,9 @@ Install Bzip2 by running the following commands: -make CC="gcc -static" && +export CC="gcc -static" && +make && +unset CC && make PREFIX=$LFS/usr install && cd $LFS/usr/bin && mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin