From f23108fd2767da13dea2049940982806be0f34aa Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Sun, 12 Feb 2023 20:17:02 -0700 Subject: [PATCH] gpu-dawn: fix linux build Signed-off-by: Stephen Gutekanst --- libs/gpu-dawn/sdk.zig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/gpu-dawn/sdk.zig b/libs/gpu-dawn/sdk.zig index 8e17f9e7..b8409262 100644 --- a/libs/gpu-dawn/sdk.zig +++ b/libs/gpu-dawn/sdk.zig @@ -764,6 +764,8 @@ pub fn Sdk(comptime deps: anytype) type { include("libs/dawn/out/Debug/gen/include"), include("libs/dawn/out/Debug/gen/src"), + + "-Wno-deprecated-declarations", }); if (options.d3d12.?) try flags.appendSlice(dawn_d3d12_flags); @@ -1255,6 +1257,7 @@ pub fn Sdk(comptime deps: anytype) type { try flags.appendSlice(&.{ include("libs/dawn"), include("libs/dawn/third_party/abseil-cpp"), + "-Wno-deprecated-declarations", }); if (target.os.tag == .windows) try flags.appendSlice(&.{ "-DABSL_FORCE_THREAD_IDENTITY_MODE=2",