Skip to content

Commit

Permalink
build: add -flax-vector-conversions to V8 build
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Dec 22, 2023
1 parent a81788c commit a456975
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/v8_gypfiles/toolchain.gypi
Original file line number Diff line number Diff line change
Expand Up @@ -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' ],
Expand Down

0 comments on commit a456975

Please sign in to comment.