Blame SOURCES/make-4.0-weird-shell.patch

11d333
diff -up make-3.82/job.c\~ make-3.82/job.c
11d333
--- make-3.82/job.c~	2010-08-11 16:13:33.000000000 +0200
11d333
+++ make-3.82/job.c	2010-08-12 14:20:08.000000000 +0200
11d333
@@ -2442,7 +2442,11 @@ construct_command_argv_internal (char *l
11d333
 
11d333
   /* See if it is safe to parse commands internally.  */
11d333
   if (shell == 0)
11d333
-    shell = default_shell;
11d333
+    {
11d333
+      shell = default_shell;
11d333
+      if (shellflags == 0)
11d333
+	shellflags = "-c";
11d333
+    }
11d333
 #ifdef WINDOWS32
11d333
   else if (strcmp (shell, default_shell))
11d333
   {