aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2016-06-05 23:05:17 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2016-06-05 23:05:17 +0000
commit6f4b2e7f5ce685c069694e0314882455471446a0 (patch)
tree7b05f37aa16017e89fcbac5c45130e76179d8577 /Makefile
parent94bb24b38701354b6a34607982483227823de864 (diff)
downloadsrc-6f4b2e7f5ce685c069694e0314882455471446a0.tar.gz
src-6f4b2e7f5ce685c069694e0314882455471446a0.zip
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
Notes
Notes: svn path=/head/; revision=301472
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 7fc5ae1bdefc..b46d99e5b1a3 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.