equal
deleted
inserted
replaced
1 This patch is taken from: |
|
2 http://cvs.savannah.gnu.org/viewvc/make/main.c?root=make&r1=1.243&r2=1.244 |
|
3 |
|
4 Fix Savannah bug #30723: |
|
5 expand MAKEFLAGS before we re-exec after rebuilding makefiles. |
|
6 |
|
7 bug #30723: implicit re-executing of subdirs breaks $(origin) with make-3.82 |
|
8 https://savannah.gnu.org/bugs/?30723 |
|
9 |
|
10 --- a/main.c 2010/07/19 07:10:53 1.243 |
|
11 +++ b/main.c 2010/08/10 07:35:34 1.244 |
|
12 @@ -2093,7 +2093,7 @@ |
|
13 const char *pv = define_makeflags (1, 1); |
|
14 char *p = alloca (sizeof ("MAKEFLAGS=") + strlen (pv) + 1); |
|
15 sprintf (p, "MAKEFLAGS=%s", pv); |
|
16 - putenv (p); |
|
17 + putenv (allocated_variable_expand (p)); |
|
18 } |
|
19 |
|
20 if (ISDB (DB_BASIC)) |
|