summaryrefslogtreecommitdiffstats
path: root/contrib/bmake/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bmake/main.c')
-rw-r--r--contrib/bmake/main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/bmake/main.c b/contrib/bmake/main.c
index 84c6935..0f15f11 100644
--- a/contrib/bmake/main.c
+++ b/contrib/bmake/main.c
@@ -796,7 +796,10 @@ main(int argc, char **argv)
Lst targs; /* target nodes to create -- passed to Make_Init */
Boolean outOfDate = FALSE; /* FALSE if all targets up to date */
struct stat sb, sa;
- char *p1, *path, *pwd;
+ char *p1, *path;
+#ifndef NO_PWD_OVERRIDE
+ char *pwd;
+#endif
char mdpath[MAXPATHLEN];
#ifdef FORCE_MACHINE
const char *machine = FORCE_MACHINE;
OpenPOWER on IntegriCloud