From e58834bc294262ba82caaa538ddc219e8a11e740 Mon Sep 17 00:00:00 2001 From: Bryan Drewery Date: Mon, 30 Nov 2015 22:53:41 +0000 Subject: [PATCH] Only DIRDEPS_BUILD should trigger this logic. Missed in r290816. Sponsored by: EMC / Isilon Storage Division --- lib/clang/clang.build.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/clang/clang.build.mk b/lib/clang/clang.build.mk index 735e5b995ec..bbe8e1f4bef 100644 --- a/lib/clang/clang.build.mk +++ b/lib/clang/clang.build.mk @@ -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