From 51edab3b6774a2e355642a3475b5e32c21122f33 Mon Sep 17 00:00:00 2001 From: tsai Date: Tue, 20 Feb 2024 08:14:02 +0800 Subject: [PATCH] fix --- native/mlir-zig-proj/build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();