libreoffice/build-max-64-jobs.diff
2013-04-17 12:53:49 +00:00

18 lines
522 B
Diff

Index: configure.ac
===================================================================
--- configure.ac.orig
+++ configure.ac
@@ -11999,6 +11999,12 @@ if test "$no_parallelism_make" = "YES" &
fi
fi
+if test $PARALLELISM -gt 64 ; then
+ AC_MSG_WARN([dmake does not work with more than 64 jobs, reducing parallelism to 64.])
+ add_warning "dmake does not work with more than 64 jobs, reducing parallelism to 64."
+ PARALLELISM="64"
+fi
+
AC_MSG_RESULT([$PARALLELISM])
AC_SUBST(PARALLELISM)