From cc30ce9efb3dc7cb49fb79bfe8b1462c574190fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20O=2E=20Sel=C3=A5sdal?= Date: Sun, 7 Jun 2026 20:12:47 +0200 Subject: [PATCH] Arena work --- build.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index fa26918..18449cd 100755 --- a/build.sh +++ b/build.sh @@ -1,3 +1,5 @@ #!/bin/sh +CFLAGS=${CFLAGS:-"-Og -fsanitize=address -ggdb"} +CC=${CC:-gcc} set -x -clang-19 -DDEBUG -pipe -fsanitize=address -ggdb -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -std=gnu23 $CFLAGS src/*c +${CC} -DDEBUG -pipe -Wall -Wextra -Wno-unused-parameter -Wno-unused-variable -std=gnu23 $CFLAGS src/*c