build: Update the build script to make it possible to build for other architectures
authorLucas Käldström <lucas.kaldstrom@hotmail.co.uk>
Sat, 13 Aug 2016 09:44:28 +0000 (12:44 +0300)
committerLucas Käldström <lucas.kaldstrom@hotmail.co.uk>
Sat, 13 Aug 2016 09:44:28 +0000 (12:44 +0300)
commitfc58b79b45f5b1917fae9f37e50d6de05d53c6f3
tree1d591383495ebe7c4440235a46a58a0f96038a2b
parent488db88fd185bfdd29c872cd4c38af651c713e45
build: Update the build script to make it possible to build for other architectures

This makes it possible to cross-compile cni like so:
$ GOARCH=arm ./build
$ GOARCH=arm64 ./build
$ GOARCH=ppc64le ./build

ref #209
build
test