# always link against compiler_rt.o even when linking libc · gitcafe/zig

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

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

Visibility: public

Requested revision: 2759c7951da050d825cf765c4b660f5562fb01a4

Requested commit: 2759c7951da050d825cf765c4b660f5562fb01a4

Commit: 2759c7951da050d825cf765c4b660f5562fb01a4

Tree: bab0ced27c01658f6ee07f4e51077a3f8f5fcf7c

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
always link against compiler_rt.o even when linking libc

sometimes libgcc is missing things we need, so we always link
compiler_rt and rely on weak linkage to allow libgcc to override.

```

## Parents

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

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