mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 14:25:16 +00:00
Unbreak the build (156ab8750056c3ff440af0937806d8cdb2623816 is not in the 0.14.x branch).
This commit is contained in:
parent
e739ba1bd9
commit
0934823815
@ -5825,11 +5825,12 @@ pub fn addCCArgs(
|
||||
// See the comment in libcxx.zig for more details about this.
|
||||
try argv.append("-D_LIBCPP_PSTL_BACKEND_SERIAL");
|
||||
|
||||
const abi_version: u2 = if (target.os.tag == .emscripten) 2 else 1;
|
||||
try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_VERSION={d}", .{
|
||||
@intFromEnum(comp.libcxx_abi_version),
|
||||
abi_version,
|
||||
}));
|
||||
try argv.append(try std.fmt.allocPrint(arena, "-D_LIBCPP_ABI_NAMESPACE=__{d}", .{
|
||||
@intFromEnum(comp.libcxx_abi_version),
|
||||
abi_version,
|
||||
}));
|
||||
|
||||
try argv.append(libcxx.hardeningModeFlag(mod.optimize_mode));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user