[bazel] Fix build with older versions of GCC.
Missed in https://crrev.com/c/3333635. Signed-off-by: Piotr Sikora <piotrsikora@google.com> Change-Id: I53ab2fbbb967ec62fd1ebbf6ea4df9d112fd7415 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/3368869 Reviewed-by: Victor Gomes <victorgomes@chromium.org> Commit-Queue: Victor Gomes <victorgomes@chromium.org> Cr-Commit-Position: refs/heads/main@{#78511}
This commit is contained in:
parent
1388e51ae3
commit
57f06a8bf3
@ -120,13 +120,17 @@ def _default_args():
|
||||
],
|
||||
"@v8//bazel/config:is_gcc": [
|
||||
"-Wno-extra",
|
||||
"-Wno-array-bounds",
|
||||
"-Wno-class-memaccess",
|
||||
"-Wno-comments",
|
||||
"-Wno-deprecated-declarations",
|
||||
"-Wno-implicit-fallthrough",
|
||||
"-Wno-int-in-bool-context",
|
||||
"-Wno-maybe-uninitialized",
|
||||
"-Wno-mismatched-new-delete",
|
||||
"-Wno-redundant-move",
|
||||
"-Wno-return-type",
|
||||
"-Wno-stringop-overflow",
|
||||
# Use GNU dialect, because GCC doesn't allow using
|
||||
# ##__VA_ARGS__ when in standards-conforming mode.
|
||||
"-std=gnu++17",
|
||||
|
Loading…
Reference in New Issue
Block a user