aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index b9d484f..3f7abdc 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,5 @@
-DIAG_FLAGS ?= -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic
+DIAG_FLAGS ?= -Wall -W -Wstrict-prototypes -Wmissing-prototypes -pedantic \
+ -fsanitize=address -fsanitize=undefined
OPT_FLAGS ?= -O2
CFLAGS ?= $(OPT_FLAGS) $(DIAG_FLAGS)