crossbuild.bash: also build for Apple M1

This commit is contained in:
Jakob Unterwurzacher 2021-06-05 15:07:18 +02:00
parent e48f2377ec
commit 6910f86705
1 changed files with 4 additions and 1 deletions

View File

@ -11,8 +11,11 @@ set -x
GOOS=linux GOARCH=arm GOARM=7 $B
GOOS=linux GOARCH=arm64 $B
# MacOS
# MacOS on Intel
GOOS=darwin GOARCH=amd64 $B
# MacOS on Apple Silicon M1
GOOS=darwin GOARCH=arm64 $B
# The cross-built binary is not useful on the compile host.
rm gocryptfs