Skip to content

Commit

Permalink
build: upgrade darwin cross compiler (#2701)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnpfeife authored Jun 22, 2022
1 parent 933e5d0 commit 4f8a995
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def run_generate():
"""Run 'go generate' to rebuild any static assets.
"""
logging.info("Running generate...")
run("""go install -mod=mod
run("""go install -mod=mod
google.golang.org/protobuf/cmd/protoc-gen-go \
github.com/benbjohnson/tmpl \
github.com/mailru/easyjson/easyjson \
Expand Down Expand Up @@ -516,7 +516,7 @@ def build(version=None,
cc = "aarch64-unknown-linux-musl-cc"
tags += ["netgo", "osusergo", "static_build", "noasm"]
elif platform == "darwin" and arch == "amd64":
cc = "x86_64-apple-darwin16-clang"
cc = "x86_64-apple-darwin18-clang"
tags += [ "netgo", "osusergo"]
elif platform == "windows" and arch == "amd64":
cc = "x86_64-w64-mingw32-gcc"
Expand Down

0 comments on commit 4f8a995

Please sign in to comment.