From fc261b402094a877cc4fcbaeb89c06ce1a522d97 Mon Sep 17 00:00:00 2001 From: Keith Smiley Date: Mon, 22 Apr 2024 13:08:16 -0400 Subject: [PATCH] Fix macOS --- .bazelrc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.bazelrc b/.bazelrc index 01a3b4c7bb..67af89da30 100644 --- a/.bazelrc +++ b/.bazelrc @@ -10,6 +10,10 @@ common --enable_platform_specific_config # Needed by gRPC to build on some platforms. build --copt -DGRPC_BAZEL_BUILD +# Avoid conflicting boringssl/protobuf system brew install +# https://github.com/bazelbuild/bazel/issues/10472 +build:macos --copt=-isystem/usr/local/include + # Set minimum supported C++ version build:macos --host_cxxopt=-std=c++14 --cxxopt=-std=c++14 build:linux --host_cxxopt=-std=c++14 --cxxopt=-std=c++14