<div dir="ltr"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">The comment came with my private code. But I don't feel strongly about it.</blockquote><div><br></div><div>I see.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>The thing is: we might be running on Windows, but targeting a different OS. In which case we don't want to pass LIB along. Your toolchain runs on Windows, but you're compiling for arch-vendor-anotheros.</div></blockquote><div><br></div><div>I'm not sure how cross-compilation of tests works in LLVM.<br>Do we ever invoke LIT for anything that we can't run on the current system?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Wouldn't lld on Windows also look at LIB if it was emulating link.exe (I don't know if there's a mode for that, like for emulating ld)?</div></blockquote><div><br></div><div>Good point, I'm pretty sure LLD would need LIB to be set too.</div></div></div>