make-3.82-MAKEFLAGS-reexec.patch 456 B

123456789101112131415
  1. http://bugs.gentoo.org/331975
  2. https://savannah.gnu.org/bugs/?30723
  3. --- main.c 2010/07/19 07:10:53 1.243
  4. +++ main.c 2010/08/10 07:35:34 1.244
  5. @@ -2093,7 +2093,7 @@
  6. const char *pv = define_makeflags (1, 1);
  7. char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1);
  8. sprintf (p, "MAKEFLAGS=%s", pv);
  9. - putenv (p);
  10. + putenv (allocated_variable_expand (p));
  11. }
  12. if (ISDB (DB_BASIC))