Skip to content

Commit

Permalink
Fix macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed May 6, 2024
1 parent ece6476 commit 4566dae
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4566dae

Please sign in to comment.