gpu-dawn: fix musl build
Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
f3f7e7c1cf
commit
8044556c54
1 changed files with 3 additions and 0 deletions
|
|
@ -1259,6 +1259,9 @@ pub fn Sdk(comptime deps: anytype) type {
|
|||
include("libs/dawn"),
|
||||
include("libs/dawn/third_party/abseil-cpp"),
|
||||
"-Wno-deprecated-declarations",
|
||||
|
||||
// musl needs this defined in order for off64_t to be a type, which abseil-cpp uses
|
||||
"-D_FILE_OFFSET_BITS",
|
||||
});
|
||||
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