Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Fix docker prebuild script for amd64/x86_64 #1441

Merged
merged 1 commit into from
Nov 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docker/prebuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
;;
*)
Expand Down
1 change: 1 addition & 0 deletions syncthing/build-syncthing.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

SUPPORTED_PYTHON_PLATFORMS = ['Windows', 'Linux', 'Darwin']

# The values here must correspond with those in ../docker/prebuild.sh
BUILD_TARGETS = [
{
'arch': 'arm',
Expand Down