diff options
author | imp <imp@FreeBSD.org> | 2014-04-13 05:21:22 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-04-13 05:21:22 +0000 |
commit | a8eb476c87a0255b2f96ecdde92b40701a6b831a (patch) | |
tree | 7b21cca48b722107fc9c253cac8b36a9440128d4 /Makefile.inc1 | |
parent | ebe5db21b8f1b8b5c1e85750702e3cf68ed5fb54 (diff) | |
download | FreeBSD-src-a8eb476c87a0255b2f96ecdde92b40701a6b831a.zip FreeBSD-src-a8eb476c87a0255b2f96ecdde92b40701a6b831a.tar.gz |
Determine whether to build clang and its bootstrap tools the same
way. This allows a clang bootstrap to happen, even when WITHOUT_CLANG
is defined. This is a minimal version of a more extensive change which
can be MFC'd more easily. However, we have to also test to see if
we're building clang as not cc, since the bootstrap for that needs
these cross tools and it is easier to build them in just one place.
MFC after: 1 week
Diffstat (limited to 'Makefile.inc1')
-rw-r--r-- | Makefile.inc1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.inc1 b/Makefile.inc1 index 282edc2..39b70ea 100644 --- a/Makefile.inc1 +++ b/Makefile.inc1 @@ -1234,7 +1234,7 @@ _awk= usr.bin/awk _gensnmptree= usr.sbin/bsnmpd/gensnmptree .endif -.if ${MK_CLANG} != "no" +.if ${MK_CLANG_IS_CC} != "no" || ${CC:T:Mclang} == "clang" || ${MK_CLANG} != "no" _clang_tblgen= \ lib/clang/libllvmsupport \ lib/clang/libllvmtablegen \ |