From 98a9253192cfca53d12ee72b0f68bbb9ac76adef Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 27 Jun 2010 04:04:10 +0000 Subject: Added new CFLAGS options to zlib configure instruction git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9315 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/zlib.xml | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'chapter06') 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 @@ Prepare Zlib for compilation: -./configure --prefix=/usr +CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr + + + The meaning of the new configure environment variable: + + + CFLAGS='-mstackrealign -fPIC -O3' + + Setting CFLAGS overrides the default optimization in the + package to prevent some run time errors. + + + + + Compile the package: -- cgit v1.2.3-54-g00ecf