go: fix i686 build.
This commit is contained in:
parent
93623f7f20
commit
5f238884de
1 changed files with 8 additions and 6 deletions
|
@ -37,12 +37,14 @@ do_build() {
|
||||||
cd src
|
cd src
|
||||||
bash make.bash
|
bash make.bash
|
||||||
|
|
||||||
cd ${wrksrc}
|
if [ "${XBPS_MACHINE}" = "x86_64" ]; then
|
||||||
export GOROOT_FINAL="/usr/lib/go"
|
cd ${wrksrc}
|
||||||
export GOOS=linux
|
export GOROOT_FINAL="/usr/lib/go"
|
||||||
export GOARCH=amd64
|
export GOOS=linux
|
||||||
cd src
|
export GOARCH=amd64
|
||||||
bash make.bash
|
cd src
|
||||||
|
bash make.bash
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue