add leak detector
This commit is contained in:
parent
a98bcdd064
commit
0cf573a8b1
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -32,7 +32,7 @@ release: compilation
|
|||
|
||||
debug: CFLAGS += -Wall -Wextra -Wshadow -Wcast-align -Wstrict-prototypes
|
||||
debug: CFLAGS += -fanalyzer -fsanitize=undefined -g -Og
|
||||
debug: LDFLAGS += -fsanitize=undefined
|
||||
debug: LDFLAGS += -fsanitize=undefined -fsanitize=leak
|
||||
debug: compilation
|
||||
|
||||
compilation: $(ALL_OBJECTS)
|
||||
|
|
Reference in a new issue