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
This commit is contained in:
Bryan Drewery 2016-06-05 23:05:17 +00:00
parent 94bb24b387
commit 6f4b2e7f5c

View File

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