1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-22 19:01:30 +00:00

Fix docker prebuild script for amd64/x86_64 (#1441)

This commit is contained in:
Simon Frei 2019-11-05 14:09:08 +01:00 committed by GitHub
parent c7b433bc65
commit 03d2f677b2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@
for ARCH in arm x86 arm64 x86_64; do
GOARCH=${ARCH}
SDK=16
# The values here must correspond with those in ../syncthing/build-syncthing.py
case ${ARCH} in
arm)
GCC="arm-linux-androideabi-clang"
@ -19,6 +20,7 @@ for ARCH in arm x86 arm64 x86_64; do
;;
x86_64)
SDK=21
GOARCH=amd64
GCC="x86_64-linux-android21-clang"
;;
*)

View file

@ -7,6 +7,7 @@ import platform
SUPPORTED_PYTHON_PLATFORMS = ['Windows', 'Linux', 'Darwin']
# The values here must correspond with those in ../docker/prebuild.sh
BUILD_TARGETS = [
{
'arch': 'arm',