Mail archive
alpine-aports

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

From: <info_at_mobile-stream.com>
Date: Wed, 1 Aug 2018 09:44:59 +0300

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
_at_@ -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
_at_@ -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_at_lists.alpinelinux.org
Help:         alpine-aports+help_at_lists.alpinelinux.org
---
Received on Wed Aug 01 2018 - 09:44:59 UTC