aboutsummaryrefslogtreecommitdiffstats
path: root/android/build
diff options
context:
space:
mode:
Diffstat (limited to 'android/build')
-rw-r--r--android/build/common.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/android/build/common.sh b/android/build/common.sh
index 3f2c642..93ffba7 100644
--- a/android/build/common.sh
+++ b/android/build/common.sh
@@ -88,6 +88,9 @@ case "$OS" in
Linux)
# note that building 32-bit binaries on x86_64 is handled later
OS=linux-$CPU
+ ;;
+ FreeBSD)
+ OS=freebsd-$CPU
;;
CYGWIN*|*_NT-*)
OS=windows
@@ -123,6 +126,8 @@ case $OS in
;;
darwin-*) HOST_OS=darwin
;;
+ freebsd-*) HOST_OS=freebsd
+ ;;
*) HOST_OS=$OS
esac
@@ -161,6 +166,7 @@ force_32bit_binaries ()
case $OS in
linux-x86_64) OS=linux-x86 ;;
darwin-x86_64) OS=darwin-x86 ;;
+ freebsd-x86_64) OS=freebsd-x86 ;;
esac
HOST_ARCH=x86
CPU=x86