ArthurRiuitiPinheiroSo 1 天之前
committed by GitHub
父節點
當前提交
88953a7c7e
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: B5690EEEBB952194
共有 1 個檔案被更改,包括 3 行新增3 行删除
  1. +3
    -3
      build.zig

+ 3
- 3
build.zig 查看文件

@ -107,10 +107,10 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
var raylib_flags_arr: std.ArrayList([]const u8) = .empty;
defer raylib_flags_arr.deinit(b.allocator);
try raylib_flags_arr.append(
b.allocator,
try raylib_flags_arr.appendSlice(b.allocator, &.{
"-std=gnu99",
);
"-fno-sanitize=undefined", // https://github.com/raysan5/raylib/issues/3674
});
if (options.linkage == .dynamic) {
try raylib_flags_arr.append(

Loading…
取消
儲存