mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-03-06 06:14:47 +00:00
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:
parent
1d20dae970
commit
98a9253192
@ -39,6 +39,13 @@
|
||||
<listitem>
|
||||
<para>2010-06-27</para>
|
||||
<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>
|
||||
<para>[bdubbs] - Updated explanation of glibc timeout
|
||||
errors and added TIMEOUTFACTOR as a possible solution.
|
||||
|
@ -43,7 +43,21 @@
|
||||
|
||||
<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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user