summaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash5
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