From 4f8a995be494bbca09af981f01ae985e23e98087 Mon Sep 17 00:00:00 2001 From: Brandon Pfeifer Date: Wed, 22 Jun 2022 15:14:18 -0400 Subject: [PATCH] build: upgrade darwin cross compiler (#2701) --- build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.py b/build.py index 192f5df94..d8d7d39b6 100755 --- a/build.py +++ b/build.py @@ -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 \ @@ -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"