svn commit: r325679 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Fri Nov 10 20:10:06 UTC 2017


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"


More information about the svn-src-all mailing list