aboutsummaryrefslogtreecommitdiff
path: root/deploy.sh
diff options
context:
space:
mode:
Diffstat (limited to 'deploy.sh')
-rwxr-xr-xdeploy.sh10
1 files changed, 4 insertions, 6 deletions
diff --git a/deploy.sh b/deploy.sh
index 91e476f..48f8c79 100755
--- a/deploy.sh
+++ b/deploy.sh
@@ -7,12 +7,10 @@ zig build
# Build comments app
pushd comments
-if [ $(uname -m) != "aarch64" ]
-then
- echo "must build on aarch64 for now"
- exit
-fi
-zig build -Doptimize=ReleaseSafe -Dcpu=baseline
+zig build \
+ -Doptimize=ReleaseSafe \
+ -Dtarget=aarch64-linux-gnu \
+ -Dcpu=baseline
popd
# Copy static site