diff -Naur lfsbook/chapter06/zlib.xml lfsbooknew/chapter06/zlib.xml --- lfsbook/chapter06/zlib.xml 2010-07-24 05:09:56.000000000 -0700 +++ lfsbooknew/chapter06/zlib.xml 2010-07-22 09:06:19.000000000 -0700 @@ -47,7 +47,10 @@ Prepare Zlib for compilation: -CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr +case `uname -m` in + i?86 | x86_64) CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr ;; + *) ./configure --prefix=/usr ;; +esac The meaning of the new configure environment variable: