diff --git a/chapter05/gcc-pass2.xml b/chapter05/gcc-pass2.xml
index 3b16674e3..8f3c7c879 100644
--- a/chapter05/gcc-pass2.xml
+++ b/chapter05/gcc-pass2.xml
@@ -89,6 +89,9 @@ sed -e "/^#define[[:blank:]]*STANDARD_STARTFILE_PREFIX_1/ s;\".*\";\"/tools/lib/
-i.orig gcc/config/i386/t-linux64
;;
esac
+sed -e '/m64=/s/lib64/lib/' \
+ -e '/m32=/s/m32=.*/m32=..\/lib32$(call if_multiarch,:i386-linux-gnu)/' \
+ -i.orig gcc/config/i386/t-linux64
Our first build of GCC has installed a couple of internal system
headers. Normally one of them, limits.h, will in turn