[Lldb-commits] [PATCH] D55430: build.py: Implement "gcc" builder
Zachary Turner via lldb-commits
lldb-commits at lists.llvm.org
Wed Dec 12 08:59:55 PST 2018
It's fine, I was mostly just curious.
On Wed, Dec 12, 2018 at 8:52 AM Pavel Labath via Phabricator <
reviews at reviews.llvm.org> wrote:
> labath marked an inline comment as done.
> labath added inline comments.
>
>
> ================
> Comment at: lldb/trunk/lit/helper/build.py:630
> + args.append('-nostdinc')
> + args.append('-static')
> + args.append('-c')
> ----------------
> zturner wrote:
> > Why do we need this?
> 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.
>
> (this could be made darwin-only, but it seemed better to be consistent).
>
>
> Repository:
> rL LLVM
>
> CHANGES SINCE LAST ACTION
> https://reviews.llvm.org/D55430/new/
>
> https://reviews.llvm.org/D55430
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20181212/2a6318de/attachment.html>
More information about the lldb-commits
mailing list