diff --git a/common.gypi b/common.gypi index 18f60c1435c6ef..0e028e3bf97d97 100644 --- a/common.gypi +++ b/common.gypi @@ -37,7 +37,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.7', + 'v8_embedder_string': '-node.8', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/BUILD.gn b/deps/v8/BUILD.gn index bc087fd6fee47b..94f48cc4a7d892 100644 --- a/deps/v8/BUILD.gn +++ b/deps/v8/BUILD.gn @@ -1696,6 +1696,10 @@ config("toolchain") { # of `this` in capture-by-value lambdas and preventing a build roll which # enables C++20 (see https://crbug.com/1374227). "-Wno-deprecated", + + # Fix build with older versions of GCC + # Ported from v8 bazel: https://crrev.com/c/3368869 + "-Wno-stringop-overflow", ] }