Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jun 2016 23:05: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: r301472 - head
Message-ID:  <201606052305.u55N5HUq024280@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Sun Jun  5 23:05:17 2016
New Revision: 301472
URL: https://svnweb.freebsd.org/changeset/base/301472

Log:
  Only include bsd.compiler.mk for bmakes that use -m .../share/mk by default.
  
  Otherwise they error when trying to include the file, which also has
  its own dependencies.
  
  Sponsored by:	EMC / Isilon Storage Division

Modified:
  head/Makefile

Modified: head/Makefile
==============================================================================
--- head/Makefile	Sun Jun  5 23:05:14 2016	(r301471)
+++ head/Makefile	Sun Jun  5 23:05:17 2016	(r301472)
@@ -103,7 +103,9 @@
 
 # This is included so CC is set to ccache for -V, and COMPILER_TYPE/VERSION
 # can be cached for sub-makes.
+.if ${MAKE_VERSION} >= 20140620
 .include <bsd.compiler.mk>
+.endif
 
 # Note: we use this awkward construct to be compatible with FreeBSD's
 # old make used in 10.0 and 9.2 and earlier.



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