aboutsummaryrefslogtreecommitdiff
path: root/crossbuild.bash
diff options
context:
space:
mode:
authorAnkush Patel2026-02-05 14:42:40 +1300
committerAnkush Patel2026-02-14 03:32:14 +1300
commit903fc9d077a81d9224de4207d1672c0b1127cf42 (patch)
tree05ae39d5ebbe41bb64d41d7e0f03df7dac596dae /crossbuild.bash
parent3191c18f67346c95e4dbdfd16b44256ddfe20b4f (diff)
Added basic support for FreeBSD.
Diffstat (limited to 'crossbuild.bash')
-rwxr-xr-xcrossbuild.bash6
1 files changed, 5 insertions, 1 deletions
diff --git a/crossbuild.bash b/crossbuild.bash
index ff773ec..685674e 100755
--- a/crossbuild.bash
+++ b/crossbuild.bash
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Build on all supported architectures & operating systems
@@ -31,3 +31,7 @@ time GOOS=darwin GOARCH=amd64 compile_tests
# MacOS on Apple Silicon M1.
GOOS=darwin GOARCH=arm64 build
+
+# FreeBSD
+GOOS=freebsd GOARCH=amd64 build
+