add leak detector

This commit is contained in:
Mylloon 2024-04-23 22:54:45 +02:00
parent a98bcdd064
commit 0cf573a8b1
Signed by: Anri
GPG key ID: A82D63DFF8D1317F

View file

@ -32,7 +32,7 @@ release: compilation
debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
debug: CFLAGS += -fanalyzer -fsanitize=undefined -g -Og debug: CFLAGS += -fanalyzer -fsanitize=undefined -g -Og
debug: LDFLAGS += -fsanitize=undefined debug: LDFLAGS += -fsanitize=undefined -fsanitize=leak
debug: compilation debug: compilation
compilation: $(ALL_OBJECTS) compilation: $(ALL_OBJECTS)