Blame SOURCES/make-4.3-j8k.patch

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