diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | build.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md index ce1c8e9..f876dea 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ would-be assassins. Until Zig reaches 1.0, the game will target the language latest minor release. To build and install the game to `$prefix`, run: - zig build -Drelease-fast --prefix $prefix install + zig build --prefix $prefix install ## Contributing diff --git a/build.zig b/build.zig index 846570e..cd0322e 100644 --- a/build.zig +++ b/build.zig @@ -35,7 +35,7 @@ pub fn build(b: *Builder) void { const exe = b.addExecutable("blackshades", "src/main.zig"); exe.addIncludePath("src"); - const cxxflags = [_][]const u8{ "--std=c++17" }; + const cxxflags = [_][]const u8{ "--std=c++17", "-fno-sanitize=undefined" }; exe.addCSourceFile("src/Decals.cpp", &cxxflags); exe.addCSourceFile("src/Fog.cpp", &cxxflags); exe.addCSourceFile("src/Frustum.cpp", &cxxflags); |