diff -urN ooo-build-1.1.55.org/bin/build-ooo ooo-build-1.1.55/bin/build-ooo
--- ooo-build-1.1.55.org/bin/build-ooo 2004-05-06 23:22:35.741584000 +0200
-+++ ooo-build-1.1.55/bin/build-ooo 2004-05-06 23:28:44.127580816 +0200
-@@ -467,7 +467,13 @@
++++ ooo-build-1.1.55/bin/build-ooo 2004-05-06 23:46:10.783464936 +0200
+@@ -467,7 +467,17 @@
cd instsetoo || exit 1;
EXTRA_BUILD_FLAGS=
if test $BUILD_NCPUS -gt 1; then
- EXTRA_BUILD_FLAGS=-P$BUILD_NCPUS
+ if test $BUILD_NCPUS -lt 3; then
-+ EXTRA_BUILD_FLAGS=-P$BUILD_NCPUS
-+ else
++ EXTRA_BUILD_FLAGS=-P2
++ elif test $BUILD_NCPUS -lt 7; then
+ # limit to 2/2 only
+ EXTRA_BUILD_FLAGS_PRE="-P2"
+ EXTRA_BUILD_FLAGS_POST="-- -P2"
++ else
++ # limit to 4/4 only
++ EXTRA_BUILD_FLAGS_PRE="-P4"
++ EXTRA_BUILD_FLAGS_POST="-- -P4"
+ fi
fi
if test "z$BUILD_WIN32" == "z"; then
EXTRA_BUILD_FLAGS="$EXTRA_BUILD_FLAGS --dlv_switch link"
-@@ -475,7 +481,7 @@
+@@ -475,7 +485,7 @@
# Accelerate straight-through compiles by not building / using dependencies
export nodep=1