From 7b62b58c4f65ee6754decadd61f0bf69eae346fc Mon Sep 17 00:00:00 2001 From: Camden Dixie O'Brien Date: Thu, 24 Oct 2024 20:44:55 +0100 Subject: [PATCH] Disable optimisations (-Og isn't cutting it) --- scripts/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/build.sh b/scripts/build.sh index eabd2a6..fc1e7d2 100644 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,7 +1,7 @@ cd "$(git rev-parse --show-toplevel)" CFLAGS="$CFLAGS -std=c11 -pedantic -Wall -Wextra" -CFLAGS="$CFLAGS -Og -ggdb" +CFLAGS="$CFLAGS -O0 -ggdb" CFLAGS="$CFLAGS -Ilib/include" mkdir -p build