Skip to content

Commit f8d5e57

Browse files
Milad FaV8 LUCI CQ
authored andcommitted
Fix build with older versions of GCC.
This ports the change from bazel on v8: https://crrev.com/c/3368869 Compilation errors started showing after this CL: https://crrev.com/c/5199515 Change-Id: I8c161a0d9ad5c04d452c444ef4feafae2ef4f6db Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/5280535 Reviewed-by: Leszek Swirski <leszeks@chromium.org> Commit-Queue: Milad Farazmand <mfarazma@redhat.com> Cr-Commit-Position: refs/heads/main@{#92252}
1 parent 8e77daf commit f8d5e57

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

BUILD.gn

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1693,6 +1693,10 @@ config("toolchain") {
16931693
# of `this` in capture-by-value lambdas and preventing a build roll which
16941694
# enables C++20 (see https://crbug.com/1374227).
16951695
"-Wno-deprecated",
1696+
1697+
# Fix build with older versions of GCC
1698+
# Ported from v8 bazel: https://crrev.com/c/3368869
1699+
"-Wno-stringop-overflow",
16961700
]
16971701
}
16981702

0 commit comments

Comments
 (0)