mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-23 04:41:16 +00:00
Set GOOS=linux instead of Android (due to upstream build issues)
This commit is contained in:
parent
fce35f1501
commit
479a75462c
2 changed files with 6 additions and 6 deletions
|
@ -24,19 +24,19 @@ fi
|
||||||
case "$1" in
|
case "$1" in
|
||||||
arm)
|
arm)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=arm
|
export GOARCH=arm
|
||||||
export GOARM=5
|
export GOARM=5
|
||||||
;;
|
;;
|
||||||
386)
|
386)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=386
|
export GOARCH=386
|
||||||
export GO386=387
|
export GO386=387
|
||||||
;;
|
;;
|
||||||
amd64)
|
amd64)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=amd64
|
export GOARCH=amd64
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -9,21 +9,21 @@ MYDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
||||||
case "$1" in
|
case "$1" in
|
||||||
arm)
|
arm)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=arm
|
export GOARCH=arm
|
||||||
export GOARM=5
|
export GOARM=5
|
||||||
export TARGETDIR=${MYDIR}/libs/armeabi
|
export TARGETDIR=${MYDIR}/libs/armeabi
|
||||||
;;
|
;;
|
||||||
386)
|
386)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=386
|
export GOARCH=386
|
||||||
export GO386=387
|
export GO386=387
|
||||||
export TARGETDIR=${MYDIR}/libs/x86
|
export TARGETDIR=${MYDIR}/libs/x86
|
||||||
;;
|
;;
|
||||||
amd64)
|
amd64)
|
||||||
export CGO_ENABLED=0
|
export CGO_ENABLED=0
|
||||||
export GOOS=android
|
export GOOS=linux
|
||||||
export GOARCH=amd64
|
export GOARCH=amd64
|
||||||
export TARGETDIR=${MYDIR}/libs/x86_64
|
export TARGETDIR=${MYDIR}/libs/x86_64
|
||||||
;;
|
;;
|
||||||
|
|
Loading…
Reference in a new issue