diff options
| author | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2008-03-05 20:11:04 +0000 |
|---|---|---|
| committer | Yaroslav Tykhiy <ytykhiy@gmail.com> | 2008-03-05 20:11:04 +0000 |
| commit | 0c352199787a2042eacfe1e10d0fdd37c3fb5dcb (patch) | |
| tree | 4609d400c4fc65fc29466c452a6a7f3c3a4b18c8 /usr.bin/make/main.c | |
| parent | 4fa8db5df0570eeed83991123bc383eca69854fb (diff) | |
Notes
Diffstat (limited to 'usr.bin/make/main.c')
| -rw-r--r-- | usr.bin/make/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/make/main.c b/usr.bin/make/main.c index 9fde44128d1f..a296b2bd2a05 100644 --- a/usr.bin/make/main.c +++ b/usr.bin/make/main.c @@ -1188,6 +1188,8 @@ main(int argc, char **argv) /* Install all the flags into the MAKE envariable. */ if (((p = Var_Value(".MAKEFLAGS", VAR_GLOBAL)) != NULL) && *p) setenv("MAKEFLAGS", p, 1); + else + setenv("MAKEFLAGS", "", 1); /* * For compatibility, look at the directories in the VPATH variable |
