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
This commit is contained in:
parent
b564c5d6aa
commit
8447c44fe7
@ -49,7 +49,7 @@ GTAGSFLAGS?= -o
|
||||
HTAGSFLAGS?=
|
||||
|
||||
.if ${CC} != "cc"
|
||||
MKDEPCMD?= CC='${CC}' mkdep
|
||||
MKDEPCMD?= CC='${CC} ${DEPFLAGS}' mkdep
|
||||
.else
|
||||
MKDEPCMD?= mkdep
|
||||
.endif
|
||||
|
Loading…
Reference in New Issue
Block a user