summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 11746cc..8b108d8 100644
--- a/Makefile
+++ b/Makefile
@@ -55,9 +55,7 @@ test: $(PROG) $(TST_RUN)
# not need the memory back, but it does need that report to stay empty, or the
# one real leak hides among forty.
.PHONY: sanitizer
-sanitizer: CFLAGS := -std=c99 -Wall -Wextra -Wpedantic -I$(SRC_DIR) \
- -D_POSIX_C_SOURCE=200809L -O1 -g -fsanitize=address,undefined \
- -fno-omit-frame-pointer -MMD -MP
+sanitizer: CFLAGS += -O1 -fsanitize=address,undefined -fno-omit-frame-pointer
sanitizer: LDFLAGS := -fsanitize=address,undefined
sanitizer: test