Use new DECLARE_EXTERNAL_RESOURCE. issue:
@@ -2064,7 +2064,7 @@ macro CTEMPLATE_VARNAMES(File) {
}
LLVM_OPTS=
-CLANG_ROOT=$(CLANG39)
+CLANG_ROOT=$CLANG39_RESOURCE_GLOBAL
macro CLANG_EMIT_AST_CXX(Input, Output, Opts...) {
.CMD=$YMAKE_PYTHON ${input:"build/scripts/clang_wrapper.py"} $WINDOWS $GCCFILTER $CLANG_ROOT/bin/clang++ ${pre=-I:INCLUDE} $CXXFLAGS $LLVM_OPTS -emit-ast -c ${input:Input} -o ${output;noauto:Output} $Opts ${kv;hide:"p ST"} ${kv;hide:"pc light-green"}
