aboutsummaryrefslogtreecommitdiffhomepage
path: root/gyp
diff options
context:
space:
mode:
Diffstat (limited to 'gyp')
-rw-r--r--gyp/yasm.gyp2
-rw-r--r--gyp/zlib.gyp1
2 files changed, 2 insertions, 1 deletions
diff --git a/gyp/yasm.gyp b/gyp/yasm.gyp
index de1d1dc1b7..272778b8d5 100644
--- a/gyp/yasm.gyp
+++ b/gyp/yasm.gyp
@@ -64,7 +64,7 @@
# Silence warnings in libc++ builds (C code doesn't need this flag).
'ldflags!': [ '-stdlib=libc++', '-fsanitize=<(skia_sanitizer)' ],
# https://crbug.com/489901
- 'cflags!': [ '-fsanitize=bounds', '-fsanitize=<(skia_sanitizer)' ],
+ 'cflags!': [ '-fsanitize=bounds', '-fsanitize=<(skia_sanitizer)', '-fsanitize-memory-track-origins' ],
'libraries!': [ '-llog', ],
},
'targets': [
diff --git a/gyp/zlib.gyp b/gyp/zlib.gyp
index 24c7a0a55f..59ca61c62e 100644
--- a/gyp/zlib.gyp
+++ b/gyp/zlib.gyp
@@ -19,6 +19,7 @@
},
}, {
'type': 'static_library',
+ 'cflags': [ '-w' ],
'sources': [
'../third_party/externals/zlib/adler32.c',
'../third_party/externals/zlib/compress.c',