aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/tar-inst.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/tar-inst.xml')
-rw-r--r--chapter05/tar-inst.xml15
1 files changed, 4 insertions, 11 deletions
diff --git a/chapter05/tar-inst.xml b/chapter05/tar-inst.xml
index 5b7805e87..3946e3d8f 100644
--- a/chapter05/tar-inst.xml
+++ b/chapter05/tar-inst.xml
@@ -12,17 +12,10 @@ used for gzip files.</para>
<para><screen><userinput>patch -Np1 -i ../tar-&tar-patch-version;.patch</userinput></screen></para>
-<para>Prepare Tar to be compiled:</para>
-
-<para><screen><userinput>LDFLAGS="-static" ./configure --prefix=$LFS/static --disable-nls</userinput></screen></para>
-
-<para>Continue with compiling the package:</para>
-
-<para><screen><userinput>make</userinput></screen></para>
-
-<para>Finish installing the package:</para>
-
-<para><screen><userinput>make install</userinput></screen></para>
+<para><screen><userinput>CFLAGS="-O2 -pipe" ./configure --prefix=/stage1
+make LDFLAGS="-s"
+make check
+make install</userinput></screen></para>
</sect2>