diff options
author | ru <ru@FreeBSD.org> | 2002-04-15 15:23:45 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2002-04-15 15:23:45 +0000 |
commit | 67b437f4434b491a83e9f7e58b8da65ade2ccef1 (patch) | |
tree | 07a823b2effdd8ca05b1bc7af2b2425992cd483e /share/mk | |
parent | e1d6eb18318c84f1e7585d0c574ebf1043b4fa21 (diff) | |
download | FreeBSD-src-67b437f4434b491a83e9f7e58b8da65ade2ccef1.zip FreeBSD-src-67b437f4434b491a83e9f7e58b8da65ade2ccef1.tar.gz |
Only pass our idea of `CC' down to mkdep(1) if it's non-default.
Diffstat (limited to 'share/mk')
-rw-r--r-- | share/mk/bsd.dep.mk | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/share/mk/bsd.dep.mk b/share/mk/bsd.dep.mk index 1d0e34b..e89f811 100644 --- a/share/mk/bsd.dep.mk +++ b/share/mk/bsd.dep.mk @@ -28,7 +28,11 @@ # If HTML is defined, htags is also run after gtags. +.if ${CC} != "cc" MKDEPCMD?= CC=${CC} mkdep +.else +MKDEPCMD?= mkdep +.endif DEPENDFILE?= .depend .if defined(SRCS) |