# link: Set machine and float ABI when invoking ld.lld and lld-link\. · gitcafe/zig

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

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

Visibility: public

Requested revision: afe2fed34dd960afb44f88cfe6ce088e1817cb5b

Requested commit: afe2fed34dd960afb44f88cfe6ce088e1817cb5b

Commit: afe2fed34dd960afb44f88cfe6ce088e1817cb5b

Tree: a83b5824089c293bf133e5ccab81e342a5972471

Author: Alex Rønne Petersen

Committer: Alex Rønne Petersen

## Message

```
link: Set machine and float ABI when invoking ld.lld and lld-link.

If this isn't done, LTO can completely miscompile the input bitcode modules for
certain targets where we need to explicitly set these ABIs (because LLVM's
defaults are bad).

```

## Parents

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

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