aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/bzip2-inst.xml4
1 files changed, 3 insertions, 1 deletions
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 @@
<para>Install Bzip2 by running the following commands:</para>
-<para><screen><userinput>make CC="gcc -static" &amp;&amp;
+<para><screen><userinput>export CC="gcc -static" &amp;&amp;
+make &amp;&amp;
+unset CC &amp;&amp;
make PREFIX=$LFS/usr install &amp;&amp;
cd $LFS/usr/bin &amp;&amp;
mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput></screen></para>