From 155b65a40f1f92ffbc2385313f8d4abd1f8d57d3 Mon Sep 17 00:00:00 2001 From: sjg Date: Fri, 17 May 2013 19:37:16 +0000 Subject: We really need to get the bsd.own.mk from this tree so the correct options are set. Also defined NO_PWD_OVERRIDE to match behavior of fmake. --- contrib/bmake/main.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'contrib/bmake/main.c') 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; -- cgit v1.1