Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Nov 2017 04:05:03 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r325304 - head/share/mk
Message-ID:  <201711020405.vA24533f095217@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Thu Nov  2 04:05:03 2017
New Revision: 325304
URL: https://svnweb.freebsd.org/changeset/base/325304

Log:
  Don't propagate MAKEOBJDIRPREFIX changes to environment.
  
  A makefile may use this variable later for its own reasons,
  don't infect sub-makes with that value.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/src.sys.obj.mk

Modified: head/share/mk/src.sys.obj.mk
==============================================================================
--- head/share/mk/src.sys.obj.mk	Thu Nov  2 00:17:52 2017	(r325303)
+++ head/share/mk/src.sys.obj.mk	Thu Nov  2 04:05:03 2017	(r325304)
@@ -43,7 +43,8 @@ MAKEOBJDIRPREFIX:=	${MAKEOBJDIRPREFIX}${TARGET:D/${TAR
 # put things approximately where they want
 OBJROOT:=	${MAKEOBJDIRPREFIX}${SRCTOP}/
 MAKEOBJDIRPREFIX=
-.export MAKEOBJDIRPREFIX
+# export but do not track
+.export-env MAKEOBJDIRPREFIX
 .endif
 .if empty(MAKEOBJDIR)
 # OBJTOP set below



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201711020405.vA24533f095217>