Blame SOURCES/make-4.3-j8k.patch

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