otto: fix cross-compilation

This commit is contained in:
Dominik Honnef 2016-04-13 13:49:24 +02:00
parent 1633070248
commit e1b40c13f0

View file

@ -18,7 +18,7 @@ do_build() {
ln -fs $PWD "${path}"
cd "$GOPATH/src/$go_import_path"
make updatedeps
GOOS= GOARCH= GOARM= make updatedeps
PATH=$GOPATH/bin:$PATH make generate
go install
}