only specify older toolchain if not arm (#838)

This commit is contained in:
Evan Simkowitz 2024-09-24 22:11:05 -07:00 committed by GitHub
parent 4d58170ae9
commit 785f8eedb9
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}}
GO_LDFLAGS: -linkmode 'external' -extldflags=-static
GO_ENV_VARS:
sh: echo "CC=\"zig cc -target {{if eq "arm" ARCH}}aarch64-linux-gnu{{else}}x86_64-linux-gnu.2.23{{end}}\""
sh: echo "CC=\"zig cc{{if neq "arm" ARCH}}-target x86_64-linux-gnu.2.23{{end}}\""
build:server:internal:
requires: