Blame SOURCES/make-3.82-parallel-remake.patch

71dafe
Index: main.c
71dafe
===================================================================
71dafe
RCS file: /sources/make/make/main.c,v
71dafe
retrieving revision 1.247
71dafe
retrieving revision 1.246
71dafe
diff -u -r1.247 -r1.246
71dafe
--- main.c	18 Sep 2011 23:39:26 -0000	1.247
71dafe
+++ main.c	29 Aug 2010 23:05:27 -0000	1.246
71dafe
@@ -2089,6 +2089,11 @@
71dafe
 
71dafe
           ++restarts;
71dafe
 
71dafe
+          /* If we're re-exec'ing the first make, put back the number of
71dafe
+             job slots so define_makefiles() will get it right.  */
71dafe
+          if (master_job_slots)
71dafe
+            job_slots = master_job_slots;
71dafe
+
71dafe
           /* Reset makeflags in case they were changed.  */
71dafe
           {
71dafe
             const char *pv = define_makeflags (1, 1);
71dafe
@@ -2830,9 +2825,6 @@
71dafe
 		       && (*(unsigned int *) cs->value_ptr ==
71dafe
 			   *(unsigned int *) cs->noarg_value))
71dafe
 		ADD_FLAG ("", 0); /* Optional value omitted; see below.  */
71dafe
-	      else if (cs->c == 'j')
71dafe
-		/* Special case for `-j'.  */
71dafe
-		ADD_FLAG ("1", 1);
71dafe
 	      else
71dafe
 		{
71dafe
 		  char *buf = alloca (30);