Skip to content

Commit

Permalink
bazel: Silence Protobuf and zlib compilation warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
fmeum committed Oct 11, 2023
1 parent 7bb6e76 commit 24ac1f0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ common --experimental_merged_skyframe_analysis_execution
common --repo_env=CC=clang
# Required by abseil-cpp.
build --cxxopt=-std=c++14
# Silence protobuf compilation warnings.
build --host_copt=-Wno-unused-function
build --host_copt=-Wno-unknown-warning-option
# Requires a relatively modern clang.
build:ci --features=layering_check
build:macos --apple_crosstool_top=@local_config_apple_cc//:toolchain
Expand Down

0 comments on commit 24ac1f0

Please sign in to comment.