don't use zig for arm (#840)

This commit is contained in:
Evan Simkowitz 2024-09-24 22:46:48 -07:00 committed by GitHub
parent 0f2642c2f4
commit 94b0527aa4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -96,7 +96,7 @@ tasks:
sh: echo {{if eq "arm" ARCH}}arm64{{else}}{{ARCH}}{{end}} sh: echo {{if eq "arm" ARCH}}arm64{{else}}{{ARCH}}{{end}}
GO_LDFLAGS: -linkmode 'external' -extldflags=-static GO_LDFLAGS: -linkmode 'external' -extldflags=-static
GO_ENV_VARS: GO_ENV_VARS:
sh: echo "CC=\"zig cc{{if ne "arm" ARCH}} -target x86_64-linux-gnu.2.28{{end}}\"" sh: echo {{if eq "amd64" ARCH}}CC="zig cc -target x86_64-linux-gnu.2.28"{{end}}
build:server:internal: build:server:internal:
requires: requires: