Skip to content

Commit

Permalink
wasm: pass -Wno-invalid-offsetof when building V8. (#19514)
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Sikora <[email protected]>
  • Loading branch information
PiotrSikora authored Jan 12, 2022
1 parent 1091423 commit a9d7260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bazel/external/wee8.genrule_cmd
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ rm -rf out/wee8

# Export compiler configuration.
export CFLAGS="$${CFLAGS-} -Wno-unknown-warning-option"
export CXXFLAGS="$${CXXFLAGS-} -Wno-sign-compare -Wno-deprecated-copy -Wno-unknown-warning-option -Wno-range-loop-analysis -Wno-shorten-64-to-32"
export CXXFLAGS="$${CXXFLAGS-} -Wno-sign-compare -Wno-deprecated-copy -Wno-unknown-warning-option -Wno-range-loop-analysis -Wno-shorten-64-to-32 -Wno-invalid-offsetof"
if [[ ( $${SYSTEM} == "Darwin" && $${CXX-} == "" ) || $${CXX-} == *clang* ]]; then
export CC=$${CC:-clang}
export CXX=$${CXX:-clang++}
Expand Down

0 comments on commit a9d7260

Please sign in to comment.