aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2015-11-08 00:50:18 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2015-11-08 00:50:18 +0000
commit9160419c7a948786ef010cc398df0b857f714db3 (patch)
treeb229234c697f282d2ccb7a6a10cd9a0fe8153584 /Makefile
parentdbced32af5023c85a220550e80f29fd90dff65c9 (diff)
Notes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 130fdbf67200..ce4c0f6963e8 100644
--- a/Makefile
+++ b/Makefile
@@ -100,6 +100,10 @@
# For more information, see the build(7) manual page.
#
+# This is included so CC is set to ccache for -V, and COMPILER_TYPE/VERSION
+# can be cached for sub-makes.
+.include <bsd.compiler.mk>
+
# Note: we use this awkward construct to be compatible with FreeBSD's
# old make used in 10.0 and 9.2 and earlier.
.if defined(MK_META_MODE) && ${MK_META_MODE} == "yes" && !make(showconfig)