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
1 changed files with 2 additions and 2 deletions

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