~alpine/aports

[alpine-aports] [PATCH 2/2] community/go: enable build on armel

alpine-mips-patches <info@mobile-stream.com>
Details
Message ID
<20190115061135.A067D5FB9E@mx12.valuehost.ru>
Sender timestamp
1547529550
DKIM signature
missing
Download raw message
Patch: +2 -1
There were ARMv5TE boards with 512 MiB (as in RPi1), that is enough
for go.

Also remove go-bootstrap from makedepends. In a cross-build it ends
up with depending on itself which is safe (abuild handles this) but
ugly. In normal build it is duplicated which is safe but ugly too.

Do not bump pkgrel since
 - no previous armel packages exist;
 - makedepends change makes no difference for the created apks.

---
 community/go/APKBUILD | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/community/go/APKBUILD b/community/go/APKBUILD
index 72872752d5..70cf8219f5 100644
--- a/community/go/APKBUILD
+++ b/community/go/APKBUILD
@@ -9,7 +9,7 @@ arch="all"
license="BSD"
depends="binutils gcc"
depends_dev=""
makedepends="bash go-bootstrap"
makedepends="bash"
install=""
subpackages="$pkgname-doc"
source="https://golang.org/dl/go${pkgver/_/}.src.tar.gz
@@ -48,6 +48,7 @@ fi

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.20.1




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