aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/make.c b/make.c
index a2fa75f..3e5a4a1 100644
--- a/make.c
+++ b/make.c
@@ -51,7 +51,11 @@ static char *cflags_req[] = {
static char *cflags_dbg[] = {
"-fsanitize=address,undefined",
+#if __GNUC__ && __APPLE__
+ "-ggdb2",
+#else
"-ggdb3",
+#endif
"-O0",
};