diff --git a/.bazelrc b/.bazelrc index 9379244c5..800e4a84a 100644 --- a/.bazelrc +++ b/.bazelrc @@ -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