diff options
Diffstat (limited to 'chapter05/bzip2-inst.xml')
-rw-r--r-- | chapter05/bzip2-inst.xml | 4 |
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> s/"\$(CC) \$(CFLAGS) -o"/"\$(CC) \$(CFLAGS) \$(LDFLAGS) -o"/ \</userinput> -<userinput> Makefile | make -f - LDFLAGS=-static &&</userinput> +<para><screen><userinput>make CC="gcc -static" &&</userinput> <userinput>make PREFIX=$LFS/usr install &&</userinput> <userinput>cd $LFS/usr/bin &&</userinput> <userinput>mv bzcat bunzip2 bzip2 bzip2recover $LFS/bin</userinput></screen></para> |