aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bzip2-inst.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-11 17:41:17 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-11 17:41:17 +0000
commit4a880659d648349b37c82334c070260c9bf0ff00 (patch)
tree8f2c3a78e7d6799fd39f87df7d50fd54a697991a /chapter05/bzip2-inst.xml
parenta1d3af694f549cb435f4095f06c5746ea0bbf08c (diff)
reworded for consistency
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2312 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bzip2-inst.xml')
-rw-r--r--chapter05/bzip2-inst.xml14
1 files changed, 10 insertions, 4 deletions
diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml
index f6f8183c2..bb50a64fb 100644
--- a/chapter05/bzip2-inst.xml
+++ b/chapter05/bzip2-inst.xml
@@ -8,19 +8,25 @@ for compilation. Instead we just run the <userinput>make</userinput>
program and start compiling, with a few variables changed to suit our
environment:</para>
-<para><screen><userinput>make CC="gcc -static -s"
-make PREFIX=$LFS/static install</userinput></screen></para>
+<para><screen><userinput>make CC="gcc -static -s"</userinput></screen></para>
-<para>The meaning of the make options are:</para>
+<para>The meaning of the make option is:</para>
<itemizedlist>
-
<listitem><para><userinput>CC="gcc -static -s":</userinput> The Bzip2 package
does not honour the <emphasis>LDFLAGS</emphasis> variable, so instead we set
the <emphasis>CC</emphasis> variable which defines which compiler to use.
The <emphasis>-static</emphasis> option tells the compiler to link all
programs statically.</para></listitem>
+</itemizedlist>
+
+<para>And finish off installing the package:</para>
+<para><screen><userinput>make PREFIX=$LFS/static install</userinput></screen></para>
+
+<para>The meaning of the make option is:</para>
+
+<itemizedlist>
<listitem><para><userinput>PREFIX=$LFS/static:</userinput> Instead of
passing a <emphasis>--prefix=$LFS/static</emphasis> to a configure script,
we set the <emphasis>PREFIX</emphasis> variable to accomplish the same goal