Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2017 20:10:05 +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: r325679 - head/share/mk
Message-ID:  <201711102010.vAAKA597076183@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Nov 10 20:10:05 2017
New Revision: 325679
URL: https://svnweb.freebsd.org/changeset/base/325679

Log:
  AUTO_OBJ: Don't create .OBJDIR with 'make -n'.
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/sys.mk

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk	Fri Nov 10 20:09:15 2017	(r325678)
+++ head/share/mk/sys.mk	Fri Nov 10 20:10:05 2017	(r325679)
@@ -118,7 +118,7 @@ NO_META_IGNORE_HOST_HEADERS=	1
 # This needs to be done early - before .PATH is computed
 # Don't do this for 'make showconfig' as it enables all options where meta mode
 # is not expected.
-.if !make(showconfig) && !make(print-dir)
+.if !make(showconfig) && !make(print-dir) && empty(.MAKEFLAGS:M-[nN])
 .sinclude <auto.obj.mk>
 .endif
 .endif	# ${MK_AUTO_OBJ} == "yes"



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