Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jun 2017 17:11:50 +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: r320191 - head/share/mk
Message-ID:  <201706211711.v5LHBoPY034064@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Jun 21 17:11:49 2017
New Revision: 320191
URL: https://svnweb.freebsd.org/changeset/base/320191

Log:
  objwarn should be .PHONY.
  
  Otherwise in META_MODE it may create an objwarn.meta if only bsd.obj.mk
  is included;  bsd.sys.mk already had .PHONY: objwarn.
  
  MFC after:	3 days
  Sponsored by:	Dell EMC Isilon

Modified:
  head/share/mk/bsd.obj.mk

Modified: head/share/mk/bsd.obj.mk
==============================================================================
--- head/share/mk/bsd.obj.mk	Wed Jun 21 14:39:31 2017	(r320190)
+++ head/share/mk/bsd.obj.mk	Wed Jun 21 17:11:49 2017	(r320191)
@@ -102,7 +102,7 @@ OBJTOP?= ${.OBJDIR:S,${.CURDIR},,}${SRCTOP}
 # case 2 (using MAKEOBJDIR), don't issue a warning.  Otherwise,
 # issue a warning differentiating between cases 6 and (3 or 4).
 #
-objwarn:
+objwarn: .PHONY
 .if !defined(NO_OBJ) && ${.OBJDIR} != ${CANONICALOBJDIR} && \
     !(defined(MAKEOBJDIRPREFIX) && exists(${CANONICALOBJDIR}/)) && \
     !(defined(MAKEOBJDIR) && exists(${MAKEOBJDIR}/))



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