Просмотр исходного кода

removed zlib cflags munging

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2754 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Jeremy Utley 22 лет назад
Родитель
Сommit
adc232404f
3 измененных файлов с 10 добавлено и 6 удалено
  1. 3 0
      chapter01/changelog.xml
  2. 5 4
      chapter06/zlib-inst.xml
  3. 2 2
      index.xml

+ 3 - 0
chapter01/changelog.xml

@@ -82,6 +82,9 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>September 9th, 2003 [jeremy]: Chapter 6 - Removed zlib's
+munging of CFLAGS in favor of a note to add -fPIC.</para></listitem>
+
 <listitem><para>September 8th, 2003 [matt]: Chapter 5 - Fixed the rm command
 that deletes unneeded documentation from /tools/share.</para></listitem>
 

+ 5 - 4
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>
 

+ 2 - 2
index.xml

@@ -3,8 +3,8 @@
 				"/usr/share/docbook/docbookx.dtd" [
 
 
-<!ENTITY version "20030906">
-<!ENTITY releasedate "September 6th, 2003">
+<!ENTITY version "20030909">
+<!ENTITY releasedate "September 9th, 2003">
 <!ENTITY nbsp " ">
 
 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">