diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/zlib.xml | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index 1dfa3a9bc..e4a419a5d 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -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> |