diff --git a/tools/lib32/build32.sh b/tools/lib32/build32.sh
index b08a02051332..93207713ea97 100644
--- a/tools/lib32/build32.sh
+++ b/tools/lib32/build32.sh
@@ -60,7 +60,7 @@ make -s -DNO_BIND -DNOMAN -DNODOC -DNOINFO -k libraries
 # an alternate install directory.
 unset CC
 export CC="cc -I/tmp/i386/root/usr/include/gnu $CCARGS"
-(cd gnu/lib/libregex; make -k -DNOMAN -DNODOC -DNOINFOall install)
+(cd gnu/lib/libregex; make -k -DNOMAN -DNODOC -DNOINFO all install)
 
 # and now that we have enough libraries, build ld-elf32.so.1
 cd libexec/rtld-elf