Commit 57f06a8b authored by Piotr Sikora's avatar Piotr Sikora Committed by V8 LUCI CQ

[bazel] Fix build with older versions of GCC.

Missed in https://crrev.com/c/3333635.
Signed-off-by: 's avatarPiotr Sikora <piotrsikora@google.com>
Change-Id: I53ab2fbbb967ec62fd1ebbf6ea4df9d112fd7415
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3368869Reviewed-by: 's avatarVictor Gomes <victorgomes@chromium.org>
Commit-Queue: Victor Gomes <victorgomes@chromium.org>
Cr-Commit-Position: refs/heads/main@{#78511}
parent 1388e51a
...@@ -120,13 +120,17 @@ def _default_args(): ...@@ -120,13 +120,17 @@ def _default_args():
], ],
"@v8//bazel/config:is_gcc": [ "@v8//bazel/config:is_gcc": [
"-Wno-extra", "-Wno-extra",
"-Wno-array-bounds",
"-Wno-class-memaccess",
"-Wno-comments", "-Wno-comments",
"-Wno-deprecated-declarations", "-Wno-deprecated-declarations",
"-Wno-implicit-fallthrough", "-Wno-implicit-fallthrough",
"-Wno-int-in-bool-context",
"-Wno-maybe-uninitialized", "-Wno-maybe-uninitialized",
"-Wno-mismatched-new-delete", "-Wno-mismatched-new-delete",
"-Wno-redundant-move", "-Wno-redundant-move",
"-Wno-return-type", "-Wno-return-type",
"-Wno-stringop-overflow",
# Use GNU dialect, because GCC doesn't allow using # Use GNU dialect, because GCC doesn't allow using
# ##__VA_ARGS__ when in standards-conforming mode. # ##__VA_ARGS__ when in standards-conforming mode.
"-std=gnu++17", "-std=gnu++17",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment