Makefile: add SANITIZE=1 to chase mem issues (host only)

This commit is contained in:
Philippe Teuwen 2020-10-06 16:58:42 +02:00
commit 66d67bcd9e
2 changed files with 9 additions and 0 deletions

View file

@ -15,6 +15,9 @@ At the moment both are maintained because they don't perfectly overlap yet.
|-----|---|---|---|
| verbose | V=1 | VERBOSE=1 | |
| warnings management | yes (1) | **no** | (1) cf Makefile.defs |
| extra GCC warnings | GCCEXTRA=1 | **no** | |
| extra Clang warnings | CLANGEXTRA=1 | **no** | only on host |
| AddressSanitize | SANITIZE=1 | **no** | only on host |
| compilation | in place | in build dir | |
| user `CFLAGS`/`LDFLAGS` | envvars honored (1) | envvars honored (2) | (1) also `LDLIBS` and `INCLUDES_CLIENT` for more tuning (2) only at first cmake call |
| Mingw gnu printf | `_ISOC99_SOURCE` | `_ISOC99_SOURCE` | and in cbor.h: `__attribute__((format (__MINGW_PRINTF_FORMAT, 2, 3)))`|