1 | diff -Naur lfsbook/chapter06/zlib.xml lfsbooknew/chapter06/zlib.xml
|
---|
2 | --- lfsbook/chapter06/zlib.xml 2010-07-24 05:09:56.000000000 -0700
|
---|
3 | +++ lfsbooknew/chapter06/zlib.xml 2010-07-22 09:06:19.000000000 -0700
|
---|
4 | @@ -47,7 +47,10 @@
|
---|
5 |
|
---|
6 | <para>Prepare Zlib for compilation:</para>
|
---|
7 |
|
---|
8 | -<screen><userinput remap="configure">CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr</userinput></screen>
|
---|
9 | +<screen><userinput remap="configure">case `uname -m` in
|
---|
10 | + i?86 | x86_64) CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr ;;
|
---|
11 | + *) ./configure --prefix=/usr ;;
|
---|
12 | +esac</userinput></screen>
|
---|
13 |
|
---|
14 | <variablelist>
|
---|
15 | <title>The meaning of the new configure environment variable:</title>
|
---|