Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Sep 2015 23:01:17 +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: r287879 - head/share/mk
Message-ID:  <201509162301.t8GN1HUs043883@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Sep 16 23:01:16 2015
New Revision: 287879
URL: https://svnweb.freebsd.org/changeset/base/287879

Log:
  META_MODE: Don't create obj directories automatically when running make -V.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/share/mk/sys.mk

Modified: head/share/mk/sys.mk
==============================================================================
--- head/share/mk/sys.mk	Wed Sep 16 22:35:59 2015	(r287878)
+++ head/share/mk/sys.mk	Wed Sep 16 23:01:16 2015	(r287879)
@@ -47,8 +47,11 @@ __DEFAULT_DEPENDENT_OPTIONS= \
 .endif
 .if ${MK_AUTO_OBJ} == "yes"
 # This needs to be done early - before .PATH is computed
+# Don't do this if just running make -V
+.if ${.MAKEFLAGS:M-V} == ""
 .sinclude <auto.obj.mk>
 .endif
+.endif
 
 .endif
 



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