| author | |
| committer | |
| log | 710e2e7f1048cb7d5a7c8d2bdd954f108dd94e7a |
| tree | 5952628c77285c6262658e01dee0e109fc2e748a |
| parent | 0b72965dbf545aa64eb9d9e33defc36af4e2e42c |
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.1 files changed, 1 insertions(+), 1 deletions(-)
src/libcxx.zig+1-1| ... | ... | @@ -320,7 +320,7 @@ pub fn buildLibCXXABI(comp: *Compilation) !void { |
| 320 | 320 | } |
| 321 | 321 | try cflags.append("-D_LIBCXXABI_HAS_NO_THREADS"); |
| 322 | 322 | try cflags.append("-D_LIBCPP_HAS_NO_THREADS"); |
| 323 | } else { | |
| 323 | } else if (target.abi.isGnu()) { | |
| 324 | 324 | try cflags.append("-DHAVE___CXA_THREAD_ATEXIT_IMPL"); |
| 325 | 325 | } |
| 326 | 326 |