summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2016-06-05 23:05:17 +0000
committerbdrewery <bdrewery@FreeBSD.org>2016-06-05 23:05:17 +0000
commit0edc5b6ce5d0c8efe957d951542f23c9d1d860de (patch)
tree7b05f37aa16017e89fcbac5c45130e76179d8577 /Makefile
parent3456e2d15bd813b18a8e16b7b309dd6ca35b8f5b (diff)
downloadFreeBSD-src-0edc5b6ce5d0c8efe957d951542f23c9d1d860de.zip
FreeBSD-src-0edc5b6ce5d0c8efe957d951542f23c9d1d860de.tar.gz
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7fc5ae1..b46d99e 100644
--- a/Makefile
+++ b/Makefile
@@ -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.
OpenPOWER on IntegriCloud