Skip to content

Commit

Permalink
Static binary compilation, Closes #29
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnesayeed committed Oct 26, 2015
1 parent 16a20dc commit 229c280
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion crossbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ for GOOS in darwin linux; do
for GOARCH in 386 amd64; do
export GOOS=$GOOS
export GOARCH=$GOARCH
go build -v -o $binsdir/memgator-$GOOS-$GOARCH
export CGO_ENABLED=0
go build -v -a -installsuffix cgo -o $binsdir/memgator-$GOOS-$GOARCH
done
done

Expand Down

0 comments on commit 229c280

Please sign in to comment.