cross custom build command

This commit is contained in:
core 2023-06-26 22:48:05 -04:00
parent 8ce7bb0857
commit acb956a28d
Signed by: core
GPG Key ID: FDBF740DADDCEECF
1 changed files with 9 additions and 1 deletions

View File

@ -48,3 +48,11 @@ copyright = "e3team <admin@e3t.cc>"
license-file = "LICENSE.txt"
maintainer-scripts = "debian/"
systemd-units = { enable = false, unit-name = "tfclient@" }
# Cross config
[target.aarch64-unknown-linux-musl]
pre-build = [
"wget https://go.dev/dl/go1.20.5.linux-arm64.tar.gz -O /go.tar.gz",
"tar -C /usr/local -xzf /go.tar.gz",
"echo \"export PATH=$PATH:/usr/local/go/bin\" >> /etc/profile"
]