From 3524efb4c0d3dcea598b93dc07cc1c83b363d111 Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 27 Jun 2010 04:34:24 +0000 Subject: Fix zlib header git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9316 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/zlib.xml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'chapter06') diff --git a/chapter06/zlib.xml b/chapter06/zlib.xml index e4a419a5d..e0e6df760 100644 --- a/chapter06/zlib.xml +++ b/chapter06/zlib.xml @@ -41,6 +41,10 @@ Installation of Zlib + First, fix a type in the package header file: + +sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h + Prepare Zlib for compilation: CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr -- cgit v1.2.3-54-g00ecf