From 4566dae7642a2164752477e0b3c74b5137b4d00e 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