cross custom build command
This commit is contained in:
parent
8ce7bb0857
commit
acb956a28d
|
@ -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"
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue