diff options
Diffstat (limited to 'chapter06/zlib.xml')
-rw-r--r-- | chapter06/zlib.xml | 21 |
1 files changed, 1 insertions, 20 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 7461858ad..1dfa3a9bc 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -41,28 +41,9 @@ <sect2 role="installation"> <title>Installation of Zlib</title> - <para>First, fix a typo in the package header file:</para> - -<screen><userinput remap="pre">sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h</userinput></screen> - <para>Prepare Zlib for compilation:</para> -<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. Note that the -mstackrealign - may cause build failures in non-Intel architecture systems.</para> - </listitem> - </varlistentry> - </variablelist> - - +<screen><userinput remap="configure">./configure --prefix=/usr</userinput></screen> <para>Compile the package:</para> |