make(1): obj dirs are physical paths so write pwd -P rather than pwd.

Regular pwd may return a pathname containing symlinks, but make does not use
such pathnames.
This commit is contained in:
Jilles Tjoelker 2011-11-05 21:32:17 +00:00
parent 8dcbd43161
commit 4f6d8894a4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=227121

View File

@ -32,7 +32,7 @@
.\" @(#)make.1 8.8 (Berkeley) 6/13/95
.\" $FreeBSD$
.\"
.Dd December 29, 2008
.Dd November 5, 2011
.Dt MAKE 1
.Os
.Sh NAME
@ -631,7 +631,7 @@ The following directories are tried in order:
.Pp
.Bl -enum -compact
.It
${MAKEOBJDIRPREFIX}/`pwd`
${MAKEOBJDIRPREFIX}/`pwd -P`
.It
${MAKEOBJDIR}
.It
@ -639,7 +639,7 @@ obj.${MACHINE}
.It
obj
.It
/usr/obj/`pwd`
/usr/obj/`pwd -P`
.El
.Pp
The first directory that