Skip to content

Commit

Permalink
Update build.zig to work with last GLFW update (#2737)
Browse files Browse the repository at this point in the history
  • Loading branch information
realtradam authored Oct 2, 2022
1 parent 2872b2f commit 62d2283
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ pub fn addRaylib(b: *std.build.Builder, target: std.zig.CrossTarget) *std.build.
const raylib_flags = &[_][]const u8{
"-std=gnu99",
"-DPLATFORM_DESKTOP",
"-D_GNU_SOURCE",
"-DGL_SILENCE_DEPRECATION=199309L",
"-fno-sanitize=undefined", // https://github.com/raysan5/raylib/issues/1891
};
Expand Down

0 comments on commit 62d2283

Please sign in to comment.