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:
parent
c7b433bc65
commit
03d2f677b2
2 changed files with 3 additions and 0 deletions
|
@ -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"
|
||||
;;
|
||||
*)
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue