aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/bzip2-inst.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-15 13:00:49 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-15 13:00:49 +0000
commit811364d703b8c5e8526b827e6947298993ce7a30 (patch)
tree41d764fdd28fbcc1a0ce5c141bd9fdc2d0f65532 /chapter05/bzip2-inst.xml
parent8f5efb62001439e55fbacf47e2b4a9f21b6faa01 (diff)
replace sed with option to gcc
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@974 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/bzip2-inst.xml')
-rw-r--r--chapter05/bzip2-inst.xml4
1 files changed, 1 insertions, 3 deletions
diff --git a/chapter05/bzip2-inst.xml b/chapter05/bzip2-inst.xml
index 2c2f04dbc..aa5d87dd8 100644
--- a/chapter05/bzip2-inst.xml
+++ b/chapter05/bzip2-inst.xml
@@ -3,9 +3,7 @@
<para>Install Bzip2 by running the following commands:</para>
-<para><screen><userinput>sed \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput>
-<userinput>&nbsp;&nbsp;&nbsp;Makefile | make -f - LDFLAGS=-static &amp;&amp;</userinput>
+<para><screen><userinput>make CC="gcc -static" &amp;&amp;</userinput>
<userinput>make PREFIX=$LFS/usr install &amp;&amp;</userinput>
<userinput>cd $LFS/usr/bin &amp;&amp;</userinput>
<userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput></screen></para>