diff options
author | Paul Smith <psmith@gnu.org> | 2013-01-13 12:21:01 -0500 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2013-01-13 12:21:01 -0500 |
commit | 686a74bfb2a624d6e85b6343f30815c976931704 (patch) | |
tree | e85ccca3d85346ef3d71d0606cf69eab0311609c /main.c | |
parent | ca17e5538f1b8ff1fa76030aab9607e351da80e9 (diff) | |
download | gunmake-686a74bfb2a624d6e85b6343f30815c976931704.tar.gz |
[SV #38051] Recover all MAKEFLAGS after makefile rebuild step is complete.
Patch suggested by Frank Heckenbach <f.heckenbach@fh-soft.de>.
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2150,7 +2150,7 @@ main (int argc, char **argv, char **envp) /* Reset makeflags in case they were changed. */ { - const char *pv = define_makeflags (1, 1); + const char *pv = define_makeflags (1, 0); char *p = alloca (CSTRLEN ("MAKEFLAGS=") + strlen (pv) + 1); sprintf (p, "MAKEFLAGS=%s", pv); putenv (allocated_variable_expand (p)); |