Only DIRDEPS_BUILD should trigger this logic.

Missed in r290816.

Sponsored by:	EMC / Isilon Storage Division
This commit is contained in:
Bryan Drewery 2015-11-30 22:53:41 +00:00
parent 33ba10888e
commit e58834bc29

View File

@ -39,7 +39,7 @@ CXXFLAGS.clang+= -stdlib=libc++
.PATH: ${LLVM_SRCS}/${SRCDIR}
.if ${MK_META_MODE} == "yes"
.if ${MK_DIRDEPS_BUILD} == "yes"
.if empty(TOOLSDIR) || !exists(${TOOLSDIR}/usr/bin/clang-tblgen)
.if ${MACHINE} == "host" && defined(BOOTSTRAPPING_TOOLS)
.if !empty(LEGACY_TOOLS) && exists(${LEGACY_TOOLS}/usr/bin/tblgen)
@ -58,7 +58,7 @@ TOOLSDIR?=
TBLGEN= ${TOOLSDIR}/usr/bin/tblgen
CLANG_TBLGEN= ${TOOLSDIR}/usr/bin/clang-tblgen
.endif
.endif # ${MK_META_MODE} == "yes"
.endif # ${MK_DIRDEPS_BUILD} == "yes"
TBLGEN?= tblgen
CLANG_TBLGEN?= clang-tblgen