aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorJulien Dessaux2022-12-01 13:14:54 +0100
committerJulien Dessaux2022-12-01 13:16:19 +0100
commit39c178ac7184083d5bd437ce1dd86fc2d2417863 (patch)
tree7668080af3f626e14a6ae5b729389ce8b0113713 /README.md
parentAdded readme (diff)
downloadzigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.tar.gz
zigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.tar.bz2
zigfunge98-39c178ac7184083d5bd437ce1dd86fc2d2417863.zip
Update compiler flags
Diffstat (limited to 'README.md')
-rw-r--r--README.md13
1 files 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
```