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
|
||||
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() {
|
||||
|
|
Loading…
Add table
Reference in a new issue