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.
This commit is contained in:
parent
1c6951aeb6
commit
8ebb983529
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250750
@ -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;
|
||||
|
@ -1,5 +1,12 @@
|
||||
# $FreeBSD$
|
||||
|
||||
# we need the up to date bsd.own.mk
|
||||
.if ${.CURDIR:M*make} == ""
|
||||
.sinclude "share/mk/bsd.own.mk"
|
||||
.else
|
||||
.sinclude "../../share/mk/bsd.own.mk"
|
||||
.endif
|
||||
# the above should have found it...
|
||||
.include "bsd.own.mk"
|
||||
|
||||
.if defined(.PARSEDIR)
|
||||
@ -16,3 +23,4 @@ NO_SHARED?= YES
|
||||
.endif
|
||||
|
||||
WARNS=3
|
||||
CFLAGS+= -DNO_PWD_OVERRIDE
|
||||
|
Loading…
Reference in New Issue
Block a user