Skip to content

Commit e4af21e

Browse files
authored
Merge pull request #359 from jwendell/sync2
Sync with upstream
2 parents 5e20eca + 712a0a9 commit e4af21e

File tree

3 files changed

+13
-0
lines changed

3 files changed

+13
-0
lines changed

.bazelrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ build:asan --linkopt='-L/opt/llvm/lib/clang/18/lib/x86_64-unknown-linux-gnu'
174174
build:macos --action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin
175175
build:macos --host_action_env=PATH=/opt/homebrew/bin:/opt/local/bin:/usr/local/bin:/usr/bin:/bin
176176
build:macos --define tcmalloc=disabled
177+
build:macos --cxxopt=-Wno-nullability-completeness
177178

178179
# macOS ASAN/UBSAN
179180
build:macos-asan --config=asan

bazel/external/quiche.bzl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ quiche_common_copts = [
1111
# hpack_huffman_decoder.cc overloads operator<<.
1212
"-Wno-unused-function",
1313
"-Wno-old-style-cast",
14+
15+
# Envoy build should not fail if a dependency has a warning.
16+
"-Wno-error",
1417
]
1518

1619
quiche_copts = select({

bazel/v8.patch

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,15 @@ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
8282
index 0539ea176ac..92c7aeb904f 100644
8383
--- a/bazel/defs.bzl
8484
+++ b/bazel/defs.bzl
85+
@@ -106,7 +106,7 @@ def _default_args():
86+
"@v8//bazel/config:is_posix": [
87+
"-fPIC",
88+
"-fno-strict-aliasing",
89+
- "-Werror",
90+
+ "-Wno-error", # Envoy build should not fail for warnings in dependencies
91+
"-Wextra",
92+
"-Wno-unneeded-internal-declaration",
93+
"-Wno-unknown-warning-option", # b/330781959
8594
@@ -117,6 +117,9 @@ def _default_args():
8695
"-Wno-implicit-int-float-conversion",
8796
"-Wno-deprecated-copy",

0 commit comments

Comments
 (0)