diff --git a/chapter08/zlib.xml b/chapter08/zlib.xml
index a90c7c416..1d1d2d4d1 100644
--- a/chapter08/zlib.xml
+++ b/chapter08/zlib.xml
@@ -76,7 +76,7 @@
Prepare Zlib for compilation:
-CC="gcc -m32" \
+CFLAGS+="-m32" CXXFLAGS+="-m32" \
./configure --prefix=/usr \
--libdir=/usr/lib32
@@ -103,7 +103,7 @@ rm -rf DESTDIR
Prepare Zlib for compilation:
-CC="gcc -mx32" \
+CFLAGS+="-mx32" CXXFLAGS+="-mx32" \
./configure --prefix=/usr \
--libdir=/usr/libx32