Skip to content

Commit cd945cf

Browse files
committed
bazel: Silence Protobuf and zlib compilation warnings
1 parent 1269d4a commit cd945cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.bazelrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ build --nozip_undeclared_test_outputs
1212
common --repo_env=CC=clang
1313
# Required by abseil-cpp.
1414
build --cxxopt=-std=c++14
15+
# Silence protobuf compilation warnings.
16+
build --host_copt=-Wno-unused-function
17+
build --host_copt=-Wno-unknown-warning-option
1518
# Requires a relatively modern clang.
1619
build:ci --features=layering_check
1720
build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain

0 commit comments

Comments
 (0)