diff options
author | bapt <bapt@FreeBSD.org> | 2014-10-21 19:56:45 +0000 |
---|---|---|
committer | bapt <bapt@FreeBSD.org> | 2014-10-21 19:56:45 +0000 |
commit | 7f7e0f84c59acc6f610246a9f366e54ff7ee60e0 (patch) | |
tree | f5859b469abb97c96723cef2f0e863ff1cdb43a0 /share | |
parent | 32838cf0973e2601fe0b79d9e8ea3e1cb4b59643 (diff) | |
download | FreeBSD-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.mk | 2 |
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 |