Skip to content

Commit

Permalink
build: Extra debugging flags
Browse files Browse the repository at this point in the history
  • Loading branch information
obiwac committed Nov 3, 2024
1 parent d7e721d commit 7ae3484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ fi

mkdir -p bin

cc_flags="-std=c11 -g -Wall -Wextra -Werror -Iflamingo/runtime -Wno-unused-parameter"
debugging="-fsanitize=address -fsanitize=undefined -fno-omit-frame-pointer -g -O0"
cc_flags="$debugging -std=c11 -Wall -Wextra -Werror -Iflamingo/runtime -Wno-unused-parameter"

# XXX With the default error limit, clangd tells us that there are too many errors and it's stopping here.
# When the error limit is disabled like I'm doing here, it says there are no errors.
Expand Down

0 comments on commit 7ae3484

Please sign in to comment.