svn commit: r273404 - head/share/mk
Baptiste Daroussin
bapt at FreeBSD.org
Tue Oct 21 19:56:46 UTC 2014
Author: bapt
Date: Tue Oct 21 19:56:45 2014
New Revision: 273404
URL: https://svnweb.freebsd.org/changeset/base/273404
Log:
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
Modified:
head/share/mk/bsd.dep.mk
Modified: head/share/mk/bsd.dep.mk
==============================================================================
--- head/share/mk/bsd.dep.mk Tue Oct 21 19:45:08 2014 (r273403)
+++ head/share/mk/bsd.dep.mk Tue Oct 21 19:56:45 2014 (r273404)
@@ -49,7 +49,7 @@ GTAGSFLAGS?= -o
HTAGSFLAGS?=
.if ${CC} != "cc"
-MKDEPCMD?= CC='${CC}' mkdep
+MKDEPCMD?= CC='${CC} ${DEPFLAGS}' mkdep
.else
MKDEPCMD?= mkdep
.endif
More information about the svn-src-all
mailing list