From 4c17629e2bff56dbf7d3411a66576db062c1c59d Mon Sep 17 00:00:00 2001 From: Gerard Beekmans Date: Sat, 2 Feb 2002 18:30:17 +0000 Subject: [PATCH] export CC...doesn't work here (should've tested it before committing...sorry) git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1538 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter01/changelog.xml | 5 ----- chapter05/bzip2-inst.xml | 4 +--- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 57e2e8360..1aa22f2de 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -24,11 +24,6 @@ -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 3c66a8e8a..3dab1cf4c 100644 --- a/chapter05/bzip2-inst.xml +++ b/chapter05/bzip2-inst.xml @@ -3,9 +3,7 @@ Install Bzip2 by running the following commands: -export CC="gcc -static" && -make && -unset CC && +make CC="gcc -static" && make PREFIX=$LFS/usr install && cd $LFS/usr/bin && mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin