# libcxx: only pass \-DHAVE\_\_\_CXA_THREAD_ATEXIT_IMPL for glibc · gitcafe/zig

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

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

Visibility: public

Requested revision: 710e2e7f1048cb7d5a7c8d2bdd954f108dd94e7a

Requested commit: 710e2e7f1048cb7d5a7c8d2bdd954f108dd94e7a

Commit: 710e2e7f1048cb7d5a7c8d2bdd954f108dd94e7a

Tree: 5952628c77285c6262658e01dee0e109fc2e748a

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
libcxx: only pass -DHAVE___CXA_THREAD_ATEXIT_IMPL for glibc

This definition communicates to libcxxabi that the libc will provide the
`__cxa_thread_atexit_impl` symbol. This is true for glibc but not
true for other libcs, such as musl.

```

## Parents

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

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