diff --git a/native/mlir-zig-proj/build.zig b/native/mlir-zig-proj/build.zig index 6ddd5d1a0..aced13c06 100644 --- a/native/mlir-zig-proj/build.zig +++ b/native/mlir-zig-proj/build.zig @@ -17,7 +17,7 @@ pub fn build(b: *std.build.Builder) void { .name = lib_name, .root_source_file = .{ .path = "src/main.zig" }, .optimize = .ReleaseSmall, - .target = b.host, + .target = .{}, }); const cflags = [_][]const u8{ "-std=gnu++17", "-fno-sanitize=undefined", "-D_GLIBCXX_USE_CXX11_ABI=1", "-static-libstdc++" } ++ libs.flags; lib.linkLibCpp();