From 94d56f972a9f74e1de9aad901520ee32d4287bdf Mon Sep 17 00:00:00 2001 From: Vasiliy Tolstov Date: Fri, 27 Mar 2015 09:23:31 +0300 Subject: [PATCH] add 32 and 64 bit cloudinit Signed-off-by: Vasiliy Tolstov --- build | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build b/build index 8c19568..aaf66f4 100755 --- a/build +++ b/build @@ -10,5 +10,7 @@ fi export GOBIN=${PWD}/bin export GOPATH=${PWD}/gopath +export CGO_ENABLED=0 -go build -o bin/cloudinit ${REPO_PATH} +go build -a -installsuffix cgo -o bin/cloudinit-x86_64 ${REPO_PATH} +GOARCH=386 go build -a -installsuffix cgo -o bin/cloudinit-x86_32 ${REPO_PATH}