Index: Makefile |
diff --git a/Makefile b/Makefile |
index 3ac994a9df2d8fd1288a153ed421d5cf80340c81..bcb392246fff79630c1a8049b25c65ea270a45eb 100644 |
--- a/Makefile |
+++ b/Makefile |
@@ -145,7 +145,13 @@ ifneq ($(strip $(asan)),) |
export LINK=$(asan) |
export ASAN_SYMBOLIZER_PATH="$(dir $(asan))llvm-symbolizer" |
endif |
- |
+# msan=/path/to/clang++ |
+ifneq ($(strip $(msan)),) |
+ GYPFLAGS += -Dmsan=1 -Dmsan_track_origins=2 |
earthdok
2014/07/01 12:13:21
You set msan_track_origins here but you don't use
|
+ export CXX=$(msan) |
+ export CXX_host=$(msan) |
+ export LINK=$(msan) |
+endif |
# arm specific flags. |
# arm_version=<number | "default"> |
ifneq ($(strip $(arm_version)),) |