Added CFLAGS to zlib defining -fPIC

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2284 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2003-01-06 16:04:14 +00:00
parent 5e40325fc2
commit f353a63bad
3 changed files with 8 additions and 3 deletions

View File

@ -57,6 +57,10 @@
</itemizedlist>
</para></listitem>
<listitem><para>January 6th, 2003 [gerard]: Chapter 06 - Zlib: Added CFLAGS
variable to define -fPIC so the dynamic library gets compiled properly at
all times.</para></listitem>
<listitem><para>January 5th, 2003 [timothy]: Chapter 05 - Applied Alex's
patch to split the <emphasis>Install all software as an unprivileged
user</emphasis> page into two pages: <emphasis>Adding the user lfs</emphasis>

View File

@ -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;

View File

@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml">
<!ENTITY version "20030105">
<!ENTITY releasedate "January 5th, 2003">
<!ENTITY version "20030106">
<!ENTITY releasedate "January 6th, 2003">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org">