gpu-dawn: fix musl build

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-06-25 08:32:54 -07:00
parent 2f7c0d789c
commit 437cd952e6

View file

@ -1265,6 +1265,7 @@ pub fn Sdk(comptime deps: anytype) type {
// musl needs this defined in order for off64_t to be a type, which abseil-cpp uses
"-D_FILE_OFFSET_BITS",
"-D_LARGEFILE64_SOURCE",
});
if (target.os.tag == .windows) try flags.appendSlice(&.{
"-DABSL_FORCE_THREAD_IDENTITY_MODE=2",