Added new CFLAGS options to zlib configure instruction

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9315 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Bruce Dubbs 2010-06-27 04:04:10 +00:00
parent 1d20dae970
commit 98a9253192
2 changed files with 22 additions and 1 deletions

View File

@ -39,6 +39,13 @@
<listitem> <listitem>
<para>2010-06-27</para> <para>2010-06-27</para>
<itemizedlist> <itemizedlist>
<listitem>
<para>[bdubbs] - Added new CFLAGS options to zlib configure
instruction in order to prevent some seg faults when building
with gcc-4.5.
Fixes
<ulink url="&lfs-ticket-root;2691">#2691</ulink>.</para>
</listitem>
<listitem> <listitem>
<para>[bdubbs] - Updated explanation of glibc timeout <para>[bdubbs] - Updated explanation of glibc timeout
errors and added TIMEOUTFACTOR as a possible solution. errors and added TIMEOUTFACTOR as a possible solution.

View File

@ -43,7 +43,21 @@
<para>Prepare Zlib for compilation:</para> <para>Prepare Zlib for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> <screen><userinput remap="configure">CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr</userinput></screen>
<variablelist>
<title>The meaning of the new configure environment variable:</title>
<varlistentry>
<term><envar>CFLAGS='-mstackrealign -fPIC -O3'</envar></term>
<listitem>
<para>Setting CFLAGS overrides the default optimization in the
package to prevent some run time errors.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para> <para>Compile the package:</para>