diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 14:22:28 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-05-09 14:22:28 +0200 |
commit | dd979f25b5ac00c02e19156203bd70da4a348979 (patch) | |
tree | 6e90e9fd1ef8f5c55886e9cb1ffc99adc7c41a74 | |
parent | 950720b06356e62fe1fe9e574bfada13b44969d1 (diff) |
Enable the sanitizer in debug builds
-rw-r--r-- | make.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ #define LIBNAME "libmlib" #define CFLAGS_ALL WARNINGS, "-pipe", "-std=c23", "-Iinclude" GLIB_EXTRAS -#define CFLAGS_DBG CFLAGS_ALL, "-g", "-ggdb3", "-Og" +#define CFLAGS_DBG CFLAGS_ALL, "-g", "-ggdb3", "-Og", "-fsanitize=address,undefined" #define CFLAGS_RLS CFLAGS_ALL, "-O3", "-flto", "-DNDEBUG" NOT_APPLE_EXTRAS #define WARNINGS \ |