diff options
| author | _Tradam <[email protected]> | 2022-10-02 14:29:48 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-10-02 20:29:48 +0200 |
| commit | 62d228346bff31fe5836985f52f6ece59f9fbbf3 (patch) | |
| tree | 34a673a6a15f1c0820bd45ab064117914f006068 /src/build.zig | |
| parent | 2872b2fff5c897b09029b3eaa6556621a8a0f189 (diff) | |
| download | raylib-62d228346bff31fe5836985f52f6ece59f9fbbf3.tar.gz raylib-62d228346bff31fe5836985f52f6ece59f9fbbf3.zip | |
Update build.zig to work with last GLFW update (#2737)
Diffstat (limited to 'src/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 }; |
