diff --git a/tools/v8_gypfiles/toolchain.gypi b/tools/v8_gypfiles/toolchain.gypi index b311c04d29281f..cc97adfbc30974 100644 --- a/tools/v8_gypfiles/toolchain.gypi +++ b/tools/v8_gypfiles/toolchain.gypi @@ -138,7 +138,11 @@ 'cflags': [ '-Werror', '-Wno-unknown-pragmas' ], },{ 'cflags!': [ '-Wall', '-Wextra' ], - 'cflags': [ '-Wno-return-type' ], + 'cflags': [ + '-Wno-return-type', + # On by default in Clang and V8 requires it at least for arm64. + '-flax-vector-conversions', + ], }], ['clang or OS!="win"', { 'cflags': [ '-Wno-invalid-offsetof' ],