gpu-dawn: fix musl build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
2f7c0d789c
commit
437cd952e6
1 changed files with 1 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue