authorgravatar for alex@alexrp.comAlex Rønne Petersen <alex@alexrp.com> 2025-05-05 08:06:09+02:00
committergravatar for noreply@github.comGitHub <noreply@github.com> 2025-05-05 08:06:09+02:00
log0934823815f1d4336b2160f09f65df5ba8e52a15
tree64f465e7ea79b44df5b992b1a5b51870c77f2897
parente739ba1bd903408d485efb2a6d3c765c9bf23ba7
signaturebadge-check Signed by PGP key B5690EEEBB952194

Unbreak the build (156ab8750056c3ff440af0937806d8cdb2623816 is not in the 0.14.x branch).


1 files changed, 3 insertions(+), 2 deletions(-)

src/Compilation.zig+3-2
...@@ -5825,11 +5825,12 @@ pub fn addCCArgs(...@@ -5825,11 +5825,12 @@ pub fn addCCArgs(
5825 // See the comment in libcxx.zig for more details about this.5825 // See the comment in libcxx.zig for more details about this.
5826 try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL");5826 try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL");
58275827
5828 const abi_version: u2 = if (target.os.tag == .emscripten) 2 else 1;
5828 try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{5829 try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{
5829 @intFromEnum(comp.libcxx_abi_version),5830 abi_version,
5830 }));5831 }));
5831 try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_NAMESPACE=__{d}", .{5832 try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_NAMESPACE=__{d}", .{
5832 @intFromEnum(comp.libcxx_abi_version),5833 abi_version,
5833 }));5834 }));
58345835
5835 try argv.append(libcxx.hardeningModeFlag(mod.optimize_mode));5836 try argv.append(libcxx.hardeningModeFlag(mod.optimize_mode));