Skip to content

Commit 5d2a39f

Browse files
committed
Add support for building on macOS.
1 parent 0fd4fe5 commit 5d2a39f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.bazelrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,7 @@ common --noenable_workspace
55
# Use C++17 (required for recent gRPC versions).
66
build --cxxopt=-std=c++17
77
build --host_cxxopt=-std=c++17
8+
9+
# Extra flags needed to build on macOS.
10+
build --repo_env=CC=/usr/bin/clang
11+
build --macos_minimum_os=10.13

0 commit comments

Comments
 (0)