Index: gyp/common_conditions.gypi |
diff --git a/gyp/common_conditions.gypi b/gyp/common_conditions.gypi |
index 1f90d6f9f119484f6fe5ed64f4ae4b0836015b40..163f1b4e4ea136601536a54e2c9cc2944d503578 100644 |
--- a/gyp/common_conditions.gypi |
+++ b/gyp/common_conditions.gypi |
@@ -452,7 +452,10 @@ |
'defines': [ 'THREAD_SANITIZER' ], |
}], |
[ 'skia_sanitizer == "memory"', { |
- 'cflags': [ '-fsanitize-memory-track-origins' ], |
+ 'cflags': [ |
+ '-O1', |
+ '-fsanitize-memory-track-origins', |
+ ], |
}], |
], |
}], |