ArthurRiuitiPinheiroSo 2日前
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(

読み込み中…
キャンセル
保存