aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2003-01-06 16:04:14 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2003-01-06 16:04:14 +0000
commitf353a63bad19768a4aa5953bdb21346c41d41c3c (patch)
treef73f70540e8c45c2febe87b4053f822b7bdc2440 /chapter06
parent5e40325fc2ddf3e60af6d47cb434e26099aebce6 (diff)
Added CFLAGS to zlib defining -fPIC
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/zlib-inst.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index 6c25a715c..de778d548 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -3,7 +3,8 @@
<para>Install Zlib by running the following commands:</para>
-<para><screen><userinput>./configure --prefix=/usr --shared &amp;&amp;
+<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
+./configure --prefix=/usr --shared &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" &amp;&amp;
make LIBS="libz.so.1.1.4 libz.a" install &amp;&amp;
mv /usr/lib/libz.so.* /lib &amp;&amp;