~alpine/aports

[alpine-aports] [PATCH] community/go: fix cross-compiling

Details
Message ID
<996932865.20180801094459@mobile-stream.com>
Sender timestamp
1533105899
DKIM signature
missing
Download raw message
Patch: +2 -2
while here, enable armel support
---
 community/go/APKBUILD | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/community/go/APKBUILD b/community/go/APKBUILD
index faf46cee0c..4549adb2e6 100644
--- a/community/go/APKBUILD
+++ b/community/go/APKBUILD
@@ -12,9 +12,8 @@ arch="all"
license="BSD"
depends="binutils gcc"
depends_dev=""
makedepends="bash go-bootstrap"
makedepends="bash"
options="!strip"
provides="go-bootstrap=$pkgver-r$pkgrel"
install=""
subpackages="$pkgname-doc"
source="http://golang.org/dl/go${pkgver/_/}.src.tar.gz
@@ -49,6 +48,7 @@ _tooldir="$srcdir"/tools-${_toolsver}

case "$CTARGET_ARCH" in
aarch64)export GOARCH="arm64" ;;
armel)  export GOARCH="arm" GOARM=5 ;;
armhf)  export GOARCH="arm" GOARM=6 ;;
armv7)  export GOARCH="arm" GOARM=7 ;;
s390x)  export GOARCH="s390x" ;;
-- 
2.18.0



---
Unsubscribe:  alpine-aports+unsubscribe@lists.alpinelinux.org
Help:         alpine-aports+help@lists.alpinelinux.org
---
Reply to thread Export thread (mbox)