tweak the testing flags a little, to catch errors a bit easier

This commit is contained in:
2025-06-13 01:55:02 +02:00
parent 78f6d565fb
commit f4a287857d

View File

@@ -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