1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

Set GOOS=linux instead of Android (due to upstream build issues)

This commit is contained in:
Lode Hoste 2016-02-10 19:21:39 +01:00
parent fce35f1501
commit 479a75462c
2 changed files with 6 additions and 6 deletions

View file

@ -24,19 +24,19 @@ fi
case "$1" in
arm)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=arm
export GOARM=5
;;
386)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=386
export GO386=387
;;
amd64)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=amd64
;;
*)

View file

@ -9,21 +9,21 @@ MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
case "$1" in
arm)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=arm
export GOARM=5
export TARGETDIR=${MYDIR}/libs/armeabi
;;
386)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=386
export GO386=387
export TARGETDIR=${MYDIR}/libs/x86
;;
amd64)
export CGO_ENABLED=0
export GOOS=android
export GOOS=linux
export GOARCH=amd64
export TARGETDIR=${MYDIR}/libs/x86_64
;;