summaryrefslogtreecommitdiffstats
path: root/contrib/bmake
diff options
context:
space:
mode:
authorsjg <sjg@FreeBSD.org>2013-05-17 19:37:16 +0000
committersjg <sjg@FreeBSD.org>2013-05-17 19:37:16 +0000
commit155b65a40f1f92ffbc2385313f8d4abd1f8d57d3 (patch)
tree31795aae9313ad27428d807d124c35a341b1e82c /contrib/bmake
parentc519844bb9454e15fd95b2f0cb9e9839aac5bc9c (diff)
downloadFreeBSD-src-155b65a40f1f92ffbc2385313f8d4abd1f8d57d3.zip
FreeBSD-src-155b65a40f1f92ffbc2385313f8d4abd1f8d57d3.tar.gz
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.
Diffstat (limited to 'contrib/bmake')
-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