svn commit: r287879 - head/share/mk

Bryan Drewery bdrewery at FreeBSD.org
Wed Sep 16 23:01:17 UTC 2015


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
 


More information about the svn-src-head mailing list