1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-12-26 21:01:32 +00:00

Make ARMv5 and 387 builds (fixes #333)

This commit is contained in:
Lode Hoste 2015-04-05 11:26:15 +02:00
parent b3202cf0a3
commit 260fc9bc87

View file

@ -68,11 +68,11 @@ cd src/github.com/syncthing/syncthing
$GOROOT/bin/go run build.go clean
# X86
$GOROOT/bin/go run build.go -goos linux -goarch 386 -no-upgrade build
GO386=387 $GOROOT/bin/go run build.go -goos linux -goarch 386 -no-upgrade build
mv syncthing $ORIG/bin/syncthing-x86
$GOROOT/bin/go run build.go clean
# ARM
$GOROOT/bin/go run build.go -goos linux -goarch arm -no-upgrade build
GOARM=5 $GOROOT/bin/go run build.go -goos linux -goarch arm -no-upgrade build
mv syncthing $ORIG/bin/syncthing-armeabi
$GOROOT/bin/go run build.go clean