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

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