Skip to content

Commit

Permalink
small crossbuild fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
rif committed Jan 8, 2016
1 parent 3680ae0 commit ff780d9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crossbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

rm -rf build; mkdir build

go build -v -o build/linux_amd64
go build -v -o build/spark_linux_amd64
GOOS=linux GOARCH=386 go build -v -o build/spark_linux_386
GOOS=linux GOARCH=arm GOARM=5 go build -v -o build/spark_linux_arm5
GOOS=darwin GOARCH=amd64 go build -v -o build/spark_darwin_amd64
Expand All @@ -11,6 +11,6 @@ GOOS=windows GOARCH=386 go build -v -o build/spark_windows_386.exe
GOOS=windows GOARCH=amd64 go build -v -o build/spark_windows_amd64.exe

go get -h github.com/pwaller/goupx/
goupx build/linux_amd64
goupx build/spark_linux_amd64
upx build/*
chmod -R a+rw build

0 comments on commit ff780d9

Please sign in to comment.