aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorJeremy Utley <jeremy@linuxfromscratch.org>2003-09-09 19:44:47 +0000
committerJeremy Utley <jeremy@linuxfromscratch.org>2003-09-09 19:44:47 +0000
commitadc232404fe4809a0bc34a183343e2b025c44b30 (patch)
tree497cce2eafa8fc724539c48c50738b10320d6470 /chapter06
parentceb18c4be89620ed188c820ac502b9f3ce02377b (diff)
removed zlib cflags munging
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2754 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/zlib-inst.xml9
1 files changed, 5 insertions, 4 deletions
diff --git a/chapter06/zlib-inst.xml b/chapter06/zlib-inst.xml
index dfdec277c..701a2a8ce 100644
--- a/chapter06/zlib-inst.xml
+++ b/chapter06/zlib-inst.xml
@@ -11,11 +11,12 @@ so by applying this patch:</para>
<para>Now prepare Zlib for compilation:</para>
-<para><screen><userinput>CFLAGS="$CFLAGS -fPIC" \
-&nbsp;&nbsp;&nbsp;&nbsp;./configure --prefix=/usr --shared</userinput></screen></para>
+<para><screen><userinput>./configure --prefix=/usr --shared</userinput></screen></para>
-<para>The <emphasis>-fPIC</emphasis> flag helps to assure
-quality in the dynamic Zlib library.</para>
+<para>Note: Zlib is known to build it's shared library incorrectly
+if a CFLAGS is specified in the enviornment. If you are using your
+own CFLAGS variables, ensure you add the <emphasis role="strong">-fPIC</emphasis>
+directive during this stage, and remove it after.</para>
<para>Compile the package:</para>