Skip to content

Commit

Permalink
-D_GLIBCXX_USE_CXX11_ABI=0
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Feb 19, 2024
1 parent 79acf5a commit 38b8e91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion native/mlir-zig-proj/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ pub fn build(b: *std.build.Builder) void {
.optimize = .ReleaseSmall,
.target = target,
});
const cflags = [_][]const u8{ "-std=gnu++20", "-fno-sanitize=undefined" } ++ libs.flags;
const cflags = [_][]const u8{ "-std=gnu++17", "-fno-sanitize=undefined", "-D_GLIBCXX_USE_CXX11_ABI=1" } ++ libs.flags;
lib.linkLibCpp();
const cppFiles = .{"mlir-c/lib/CAPI/Beaver.cpp"};
inline for (cppFiles) |f| {
Expand Down

0 comments on commit 38b8e91

Please sign in to comment.