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
|
for ARCH in arm x86 arm64 x86_64; do
|
||||||
GOARCH=${ARCH}
|
GOARCH=${ARCH}
|
||||||
SDK=16
|
SDK=16
|
||||||
|
# The values here must correspond with those in ../syncthing/build-syncthing.py
|
||||||
case ${ARCH} in
|
case ${ARCH} in
|
||||||
arm)
|
arm)
|
||||||
GCC="arm-linux-androideabi-clang"
|
GCC="arm-linux-androideabi-clang"
|
||||||
|
@ -19,6 +20,7 @@ for ARCH in arm x86 arm64 x86_64; do
|
||||||
;;
|
;;
|
||||||
x86_64)
|
x86_64)
|
||||||
SDK=21
|
SDK=21
|
||||||
|
GOARCH=amd64
|
||||||
GCC="x86_64-linux-android21-clang"
|
GCC="x86_64-linux-android21-clang"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
|
|
|
@ -7,6 +7,7 @@ import platform
|
||||||
|
|
||||||
SUPPORTED_PYTHON_PLATFORMS = ['Windows', 'Linux', 'Darwin']
|
SUPPORTED_PYTHON_PLATFORMS = ['Windows', 'Linux', 'Darwin']
|
||||||
|
|
||||||
|
# The values here must correspond with those in ../docker/prebuild.sh
|
||||||
BUILD_TARGETS = [
|
BUILD_TARGETS = [
|
||||||
{
|
{
|
||||||
'arch': 'arm',
|
'arch': 'arm',
|
||||||
|
|
Loading…
Reference in a new issue