aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2012-01-30 21:20:31 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2012-01-30 21:20:31 +0000
commite3f07935fcd137b019ee81e3d127947d341ce7d6 (patch)
tree03ef33447a6b52b928d1fcb862c7f9079fb7c4da /chapter06
parent956dfc8bde5a57f543eb0a38ac38e1396c60f301 (diff)
Upgrade to Zlib-1.2.6. Fixes #3009.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9723 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/zlib.xml21
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>