# Merge branch 'embed-lld' · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/d7a539906d2dd49872abb161f3d3364c9641ccd2)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: d7a539906d2dd49872abb161f3d3364c9641ccd2

Requested commit: d7a539906d2dd49872abb161f3d3364c9641ccd2

Commit: d7a539906d2dd49872abb161f3d3364c9641ccd2

Tree: 0d9c04fdc537326431a34ca2e7797c976fa4b91b

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Merge branch 'embed-lld'

Zig now depends on LLVM 5.0.0.

For the latest version that supports LLVM 4.0.1, use
2a49c876be76dc98996a3251310728ad32b22363.

Unfortunately we had to embed LLD into Zig due to some
MACH-O related LLD bugs. One of them is already upstream
and another is awaiting feedback on the llvm-dev mailing
list.

You can use cmake option -DZIG_FORCE_EXTERNAL_LLD=ON to
still use external LLD if you want to live with the MACH-O
bugs or if your system LLD is patched.

Closes #273

```

## Parents

- [2a49c876be76dc98996a3251310728ad32b22363](https://git.cafe/gitcafe/zig/commit/2a49c876be76dc98996a3251310728ad32b22363?format=markdown)

- [1525e2c0561bb598b1e94ad9cdced5dd22e7d66d](https://git.cafe/gitcafe/zig/commit/1525e2c0561bb598b1e94ad9cdced5dd22e7d66d?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/d7a539906d2dd49872abb161f3d3364c9641ccd2?format=markdown)
