| ... | ... | @@ -5382,15 +5382,15 @@ pub fn addCCArgs( |
| 5382 | 5382 | try argv.append("-D_LIBCPP_HAS_MUSL_LIBC"); |
| 5383 | 5383 | } |
| 5384 | 5384 | try argv.append("-D_LIBCPP_DISABLE_VISIBILITY_ANNOTATIONS"); |
| 5385 | | try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS"); |
| 5386 | 5385 | try argv.append("-D_LIBCPP_HAS_NO_VENDOR_AVAILABILITY_ANNOTATIONS"); |
| 5386 | try argv.append("-D_LIBCXXABI_DISABLE_VISIBILITY_ANNOTATIONS"); |
| 5387 | 5387 | |
| 5388 | 5388 | if (!comp.config.any_non_single_threaded) { |
| 5389 | 5389 | try argv.append("-D_LIBCPP_HAS_NO_THREADS"); |
| 5390 | 5390 | } |
| 5391 | 5391 | |
| 5392 | 5392 | // See the comment in libcxx.zig for more details about this. |
| 5393 | | try argv.append("-D_LIBCPP_PSTL_CPU_BACKEND_SERIAL"); |
| 5393 | try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL"); |
| 5394 | 5394 | |
| 5395 | 5395 | try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{ |
| 5396 | 5396 | @intFromEnum(comp.libcxx_abi_version), |