aboutsummaryrefslogtreecommitdiff
path: root/mk/init.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/init.mk')
-rw-r--r--mk/init.mk7
1 files changed, 5 insertions, 2 deletions
diff --git a/mk/init.mk b/mk/init.mk
index 43561b528ad8..cb5ab820901a 100644
--- a/mk/init.mk
+++ b/mk/init.mk
@@ -1,4 +1,4 @@
-# $Id: init.mk,v 1.10 2015/12/07 04:28:31 sjg Exp $
+# $Id: init.mk,v 1.12 2016/04/05 15:58:37 sjg Exp $
#
# @(#) Copyright (c) 2002, Simon J. Gerraty
#
@@ -23,11 +23,14 @@ _this_mk_dir := ${.PARSEDIR}
.endif
.-include <local.init.mk>
-.-include "${.CURDIR:H}/Makefile.inc"
+.-include <${.CURDIR:H}/Makefile.inc>
.include <own.mk>
.MAIN: all
+# should have been set by sys.mk
+CXX_SUFFIXES?= .cc .cpp .cxx .C
+
.if !empty(WARNINGS_SET) || !empty(WARNINGS_SET_${MACHINE_ARCH})
.include <warnings.mk>
.endif