summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2020-05-22 12:48:35 -0400
committerTavian Barnes <tavianator@tavianator.com>2020-05-22 12:49:18 -0400
commita3a9a2ed41394c7ae9a1e5f57b0379b2c3a564d0 (patch)
tree63e3a0ef384177bd830d85a68eb6b8edfd76f08b
parent9cf801e951006b6edf9bef99197a74845018c2b0 (diff)
downloadbfs-a3a9a2ed41394c7ae9a1e5f57b0379b2c3a564d0.tar.xz
Makefile: Pass -fsanitize-memory-track-origins for msan builds
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index cb62ff4..7a31d6b 100644
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@ LOCAL_LDFLAGS :=
LOCAL_LDLIBS :=
ASAN_CFLAGS := -fsanitize=address
-MSAN_CFLAGS := -fsanitize=memory
+MSAN_CFLAGS := -fsanitize=memory -fsanitize-memory-track-origins
UBSAN_CFLAGS := -fsanitize=undefined
ifeq ($(OS),Linux)