Skip to content

Commit

Permalink
Linux & Windows build fixes
Browse files Browse the repository at this point in the history
UPX not running on Windows64, Linux32 overwriting Linux64 binaries
  • Loading branch information
matt-farmer authored and matt-farmer committed Aug 17, 2016
1 parent 2752c8f commit 084f089
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ build_windows64() {
HARNESS=harness.exe
ZIP=go-nias-Win64.zip
do_build
do_upx
do_bats
do_zip
echo "...all Windows64 binaries built..."
Expand Down Expand Up @@ -120,7 +121,7 @@ build_linux32() {
GOOS=linux
GOARCH=386
LDFLAGS="-s -w"
OUTPUT=$CWD/build/Linux64/go-nias
OUTPUT=$CWD/build/Linux32/go-nias
GNATS=gnatsd
HARNESS=harness
ZIP=go-nias-Linux32.zip
Expand Down

0 comments on commit 084f089

Please sign in to comment.