From 39c178ac7184083d5bd437ce1dd86fc2d2417863 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Thu, 1 Dec 2022 13:14:54 +0100 Subject: Update compiler flags --- README.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 730d477..9afbe0a 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ To get, compile then install zigfunge98, do something like: ```sh git clone https://git.adyxax.org/adyxax/zigfunge98 cd zigfunge98 -zig build +zig build -Drelease-safe install ./zig-out/bin/zigfunge98 ~/.local/bin/ ``` @@ -51,9 +51,14 @@ zig build test -Dtest-coverage firefox kcov-output/index.html ``` +To build a debug build, simply use: +```sh +zig build +``` + For a non debug build, use either one of: ```sh -zig build -O ReleaseSafe -zig build -O ReleaseSmall -zig build -O ReleaseFast +zig build -Drelease-safe +zig build -Drelease-small +zig build -Drelease-fast ``` -- cgit v1.2.3