浏览代码

Update build.zig to work with last GLFW update (#2737)

pull/2738/head
_Tradam 2 年前
committed by GitHub
父节点
当前提交
62d228346b
找不到此签名对应的密钥 GPG 密钥 ID: 4AEE18F83AFDEB23
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. +1
    -0
      src/build.zig

+ 1
- 0
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{ const raylib_flags = &[_][]const u8{
"-std=gnu99", "-std=gnu99",
"-DPLATFORM_DESKTOP", "-DPLATFORM_DESKTOP",
"-D_GNU_SOURCE",
"-DGL_SILENCE_DEPRECATION=199309L", "-DGL_SILENCE_DEPRECATION=199309L",
"-fno-sanitize=undefined", // https://github.com/raysan5/raylib/issues/1891 "-fno-sanitize=undefined", // https://github.com/raysan5/raylib/issues/1891
}; };

正在加载...
取消
保存