# compiler_rt: strong linkage when compiling to \.c · gitcafe/zig

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

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

Visibility: public

Requested revision: cefcf39faaa892784ed59d0960858195b0a9d367

Requested commit: cefcf39faaa892784ed59d0960858195b0a9d367

Commit: cefcf39faaa892784ed59d0960858195b0a9d367

Tree: 2e089ed7f6cf6eccbee28ebb5a6262b44ec6d77a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

````
compiler_rt: strong linkage when compiling to .c

This works around a problem that started happening with LLD around
version 18.1.8:

```
lld-link: error: duplicate symbol: .weak.__nexf2.default
>>> defined at CMakeFiles/zig2.dir/compiler_rt.c.obj
>>> defined at compiler_rt.lib(compiler_rt.lib.obj)
```

````

## Parents

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

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