diff options
author | Jakob Unterwurzacher | 2021-06-05 15:07:18 +0200 |
---|---|---|
committer | Jakob Unterwurzacher | 2021-06-05 15:07:18 +0200 |
commit | 6910f8670502b57cc442d3c45c5e5be1165b3d2c (patch) | |
tree | fc0efa18b1cdd8b5bc7c62fe843dbd7fa5d32aef /crossbuild.bash | |
parent | e48f2377ec46f247d4db04cf8031702d0684c086 (diff) |
crossbuild.bash: also build for Apple M1
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-x | crossbuild.bash | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/crossbuild.bash b/crossbuild.bash index 13b0bc3..0f3963f 100755 --- a/crossbuild.bash +++ b/crossbuild.bash @@ -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 |