diff --git a/gyp/yasm.gyp b/gyp/yasm.gyp index aeca9c05fb..de1d1dc1b7 100644 --- a/gyp/yasm.gyp +++ b/gyp/yasm.gyp @@ -62,9 +62,9 @@ }, 'target_defaults': { # Silence warnings in libc++ builds (C code doesn't need this flag). - 'ldflags!': [ '-stdlib=libc++', '-fsanitize=address,bool,integer-divide-by-zero,null,object-size,return,nonnull-attribute,returns-nonnull-attribute,signed-integer-overflow,unreachable,vla-bound' ], + 'ldflags!': [ '-stdlib=libc++', '-fsanitize=<(skia_sanitizer)' ], # https://crbug.com/489901 - 'cflags!': [ '-fsanitize=bounds', '-fsanitize=address,bool,integer-divide-by-zero,null,object-size,return,nonnull-attribute,returns-nonnull-attribute,signed-integer-overflow,unreachable,vla-bound' ], + 'cflags!': [ '-fsanitize=bounds', '-fsanitize=<(skia_sanitizer)' ], 'libraries!': [ '-llog', ], }, 'targets': [