diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 62dce14d1ef6..a43df822917b 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