1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-26 22:31:16 +00:00

Merge pull request #334 from Zillode/build-armv5

Make ARMv5 and 387 builds
This commit is contained in:
Felix Ableitner 2015-04-05 23:38:17 +02:00
commit ffab06ff12

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