Skip to content

Commit

Permalink
Fix build with older versions of GCC.
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
miladfarca authored and V8 LUCI CQ committed Feb 9, 2024
1 parent 8e77daf commit f8d5e57
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -1693,6 +1693,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",
]
}

Expand Down

0 comments on commit f8d5e57

Please sign in to comment.