diff options
| author | realtradam <[email protected]> | 2022-10-02 14:04:13 -0400 |
|---|---|---|
| committer | realtradam <[email protected]> | 2022-10-02 14:04:13 -0400 |
| commit | dab8cec541c4d4f42436a45aa58e897c0010e174 (patch) | |
| tree | 34a673a6a15f1c0820bd45ab064117914f006068 | |
| parent | 2872b2fff5c897b09029b3eaa6556621a8a0f189 (diff) | |
| download | raylib-fix_build.zig.tar.gz raylib-fix_build.zig.zip | |
Update build.zig to work with last GLFW updatefix_build.zig
| -rw-r--r-- | src/build.zig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/build.zig b/src/build.zig index 44a3c171..8194e1e3 100644 --- a/src/build.zig +++ b/src/build.zig @@ -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 }; |
