<div dir="ltr">It's fine, I was mostly just curious.</div><br><div class="gmail_quote"><div dir="ltr">On Wed, Dec 12, 2018 at 8:52 AM Pavel Labath via Phabricator <<a href="mailto:reviews@reviews.llvm.org">reviews@reviews.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">labath marked an inline comment as done.<br>
labath added inline comments.<br>
<br>
<br>
================<br>
Comment at: lldb/trunk/lit/helper/build.py:630<br>
+            args.append('-nostdinc')<br>
+            args.append('-static')<br>
+        args.append('-c')<br>
----------------<br>
zturner wrote:<br>
> Why do we need this?<br>
Without this I got errors when trying this out on a mac (something about "dynamically linked executables must link to libSystem.dylib"). Doing a static link in this case did not seem like a bad choice, since this script doesn't even support building shared libraries at this point. If we get to a point where we want to build shared libraries in --nodefaultlib mode, then we will have to revisit this.<br>
<br>
(this could be made darwin-only, but it seemed better to be consistent).<br>
<br>
<br>
Repository:<br>
  rL LLVM<br>
<br>
CHANGES SINCE LAST ACTION<br>
  <a href="https://reviews.llvm.org/D55430/new/" rel="noreferrer" target="_blank">https://reviews.llvm.org/D55430/new/</a><br>
<br>
<a href="https://reviews.llvm.org/D55430" rel="noreferrer" target="_blank">https://reviews.llvm.org/D55430</a><br>
<br>
<br>
<br>
</blockquote></div>