Blame SOURCES/make-4.2-j8k.patch

f55833
diff -Nrup a/main.c b/main.c
f55833
--- a/main.c	2016-05-31 03:17:26.000000000 -0400
f55833
+++ b/main.c	2016-09-22 16:18:52.283889265 -0400
f55833
@@ -2051,6 +2051,21 @@ main (int argc, char **argv, char **envp
f55833
     }
f55833
 #endif
f55833
 
f55833
+#ifdef PIPE_BUF
f55833
+  if (job_slots > PIPE_BUF)
f55833
+#elif defined _POSIX_PIPE_BUF
f55833
+  if (job_slots > _POSIX_PIPE_BUF)
f55833
+#else
f55833
+  if (job_slots > 512)
f55833
+#endif
f55833
+    {
f55833
+      O (error, NILF,
f55833
+            _("More parallel jobs (-jN) than this platform can handle requested."));
f55833
+      O (error, NILF, _("Resetting to single job (-j1) mode."));
f55833
+      job_slots = 1;
f55833
+    }
f55833
+
f55833
+
f55833
   /* If we have >1 slot at this point, then we're a top-level make.
f55833
      Set up the jobserver.
f55833