aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-05-05 20:01:15 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-05-05 20:01:15 +0000
commitc5d4300e1f407d22b0df0b0d4c5e0ab9f8b80372 (patch)
treef4bab214f210a96add304a39a8961d5e33c97468 /chapter05
parent384382bd576f93afd3ec0376a46ba9e9912fefa6 (diff)
removed LDFLAGS (caused link error), removed patch (part of bug not yet assigned)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2513 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/zlib-inst.xml6
1 files changed, 2 insertions, 4 deletions
diff --git a/chapter05/zlib-inst.xml b/chapter05/zlib-inst.xml
index e3bd2c0d3..d49bab377 100644
--- a/chapter05/zlib-inst.xml
+++ b/chapter05/zlib-inst.xml
@@ -3,11 +3,9 @@
<sect2>
<title>Installation of Zlib</title>
-<para><screen><userinput>patch -Np1 -i ../zlib-&zlib-version;-final-vsnprintf.patch</userinput></screen></para>
-
<para>Prepare Zlib to be compiled:</para>
-<para><screen><userinput>CFLAGS="-O2 -pipe" CPPFLAGS="-DHAS_vsnprintf" \
+<para><screen><userinput>CFLAGS="-O2 -pipe" \
&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=/stage1 --shared</userinput></screen></para>
<para>The <emphasis>-fPIC</emphasis> flag helps to assure
@@ -17,7 +15,7 @@ quality in the dynamic zlib library.</para>
on the system. To satisfy those programs, compile both the
shared and static libraries:</para>
-<para><screen><userinput>make LDFLAGS="-s"
+<para><screen><userinput>make
make test</userinput></screen></para>
<para>Install the libraries:</para>