From f4a287857d484a1f92b8e38663fea8d3cf1220f6 Mon Sep 17 00:00:00 2001 From: Quinn Date: Fri, 13 Jun 2025 01:55:02 +0200 Subject: [PATCH] tweak the testing flags a little, to catch errors a bit easier --- makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/makefile b/makefile index 5d53af5..9928730 100644 --- a/makefile +++ b/makefile @@ -25,7 +25,8 @@ CFLAGS += -Og -g -fsanitize=address,undefined LDFLAGS += -fsanitize=address,undefined PROF := dbg else ifeq ($(DEBUG),test) # check whether we're perhaps testing -CFLAGS += -O2 +CFLAGS += -O2 -g -fsanitize=address +LDFLAGS += -fsanitize=address PROF := test else # otherwise, assume release CFLAGS += -O2 -DNDEBUG