summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-04-15 09:36:52 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-04-15 09:37:10 +0000
commit61c3be7e6e6dd03f0696c5cd5ba03d1991d5ffbc (patch)
treeb2af17e7a562203978071f087d9f01b1a85d8705
parentb6c00d70308d31517175e50e2115b8c212738ae2 (diff)
downloadaports-61c3be7e6e6dd03f0696c5cd5ba03d1991d5ffbc.tar.bz2
aports-61c3be7e6e6dd03f0696c5cd5ba03d1991d5ffbc.tar.xz
testing/go: enable x86
-rw-r--r--testing/go/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/testing/go/APKBUILD b/testing/go/APKBUILD
index b9cbee4b2..6bfe138b9 100644
--- a/testing/go/APKBUILD
+++ b/testing/go/APKBUILD
@@ -4,7 +4,7 @@ pkgver=1.2.1
pkgrel=0
pkgdesc="Go programming language compiler"
url="http://www.golang.org/"
-arch="x86_64"
+arch="x86 x86_64"
license="BSD"
depends=""
depends_dev=""
@@ -42,6 +42,8 @@ build() {
export GOROOT="$_builddir"
export GOBIN="$GOROOT"/bin
export GOROOT_FINAL=/usr/lib/go
+ # ccache breaks build for some reason
+ unset CC
case "$CARCH" in
x86) GOARCH=386;;