go: fix i686 build.

This commit is contained in:
Juan RP 2012-07-29 08:14:16 +02:00
parent 93623f7f20
commit 5f238884de

View file

@ -37,12 +37,14 @@ do_build() {
cd src
bash make.bash
cd ${wrksrc}
export GOROOT_FINAL="/usr/lib/go"
export GOOS=linux
export GOARCH=amd64
cd src
bash make.bash
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
cd ${wrksrc}
export GOROOT_FINAL="/usr/lib/go"
export GOOS=linux
export GOARCH=amd64
cd src
bash make.bash
fi
}
do_install() {