Skip to content

Commit

Permalink
Switch off cares to allow M1 build
Browse files Browse the repository at this point in the history
  • Loading branch information
yongtang committed Aug 4, 2023
1 parent 59e8d21 commit 9accfc8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/build/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def write_config():
bazel_rc.write("build:macos --copt=-Wunguarded-availability\n")
bazel_rc.write("build:macos --copt=-Wno-error=unused-but-set-variable\n")
bazel_rc.write("build:macos --copt=-Wno-error=unknown-warning-option\n")
bazel_rc.write("build:macos --cpu=darwin\n")
bazel_rc.write("build:macos --define=grpc_no_ares=true\n")
# MSVC (Windows): Standards-conformant preprocessor mode
bazel_rc.write('build:windows --copt="/Zc:preprocessor"\n')
bazel_rc.write('build:windows --copt="/std:c++17"\n')
Expand Down

0 comments on commit 9accfc8

Please sign in to comment.