summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2014-10-21 19:56:45 +0000
committerbapt <bapt@FreeBSD.org>2014-10-21 19:56:45 +0000
commit7f7e0f84c59acc6f610246a9f366e54ff7ee60e0 (patch)
treef5859b469abb97c96723cef2f0e863ff1cdb43a0 /share
parent32838cf0973e2601fe0b79d9e8ea3e1cb4b59643 (diff)
downloadFreeBSD-src-7f7e0f84c59acc6f610246a9f366e54ff7ee60e0.zip
FreeBSD-src-7f7e0f84c59acc6f610246a9f366e54ff7ee60e0.tar.gz
The dependencies are computed with CC even if sources are C++, when building
when building with an external gcc, we want to be able to pass the path to the libc++ headers so dependencies are correctly computed for C++ source files. Add a DEPFLAGS for that purpose Reviewed by: imp
Diffstat (limited to 'share')
-rw-r--r--share/mk/bsd.dep.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk
index 62dce14..a43df82 100644
--- a/share/mk/bsd.dep.mk
+++ b/share/mk/bsd.dep.mk
@@ -49,7 +49,7 @@ GTAGSFLAGS?= -o
HTAGSFLAGS?=
.if ${CC} != "cc"
-MKDEPCMD?= CC='${CC}' mkdep
+MKDEPCMD?= CC='${CC} ${DEPFLAGS}' mkdep
.else
MKDEPCMD?= mkdep
.endif
OpenPOWER on IntegriCloud