diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-06 14:32:29 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-06 14:32:29 +0200 |
| commit | 8cf0d9d94b91d036d44fa02ebe5f6acea594a6d8 (patch) | |
| tree | 98b6a84ad54b2f9b8d51bfc6db465f65d2b9cdb2 /Makefile | |
| parent | 6cbd6f165ce3f063c5f940e38dd9a2132106a9ee (diff) | |
| download | nissy-classic-8cf0d9d94b91d036d44fa02ebe5f6acea594a6d8.tar.gz nissy-classic-8cf0d9d94b91d036d44fa02ebe5f6acea594a6d8.zip | |
Added sanitizers for debug compile, fixed memory leak
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -9,7 +9,9 @@ CPPFLAGS = -DVERSION=\"${VERSION}\" | |||
| 9 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ | 9 | CFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ |
| 10 | -Wno-unused-parameter -O3 ${CPPFLAGS} | 10 | -Wno-unused-parameter -O3 ${CPPFLAGS} |
| 11 | DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ | 11 | DBGFLAGS = -std=c99 -pthread -pedantic -Wall -Wextra \ |
| 12 | -Wno-unused-parameter -g ${CPPFLAGS} | 12 | -Wno-unused-parameter -Wno-unused-function \ |
| 13 | -fsanitize=address -fsanitize=undefined \ | ||
| 14 | -g3 ${CPPFLAGS} | ||
| 13 | 15 | ||
| 14 | CC = cc | 16 | CC = cc |
| 15 | 17 | ||
