Skip to content

Commit

Permalink
Fix macOS
Browse files Browse the repository at this point in the history
  • Loading branch information
keith committed Apr 22, 2024
1 parent 4925719 commit fc261b4
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 fc261b4

Please sign in to comment.