X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mx12.valuehost.ru (mx12.valuehost.ru [217.112.42.215]) by lists.alpinelinux.org (Postfix) with ESMTP id 09E8AF856FA for ; Tue, 15 Jan 2019 06:11:36 +0000 (UTC) Received: from mx7.valuehost.ru (unknown [127.0.0.255]) by mx12.valuehost.ru (Postfix) with ESMTP id A067D5FB9E for ; Tue, 15 Jan 2019 09:11:35 +0300 (MSK) From: alpine-mips-patches Date: Tue, 15 Jan 2019 05:19:10 +0000 Subject: [alpine-aports] [PATCH 2/2] community/go: enable build on armel To: alpine-aports@lists.alpinelinux.org Message-Id: <20190115061135.A067D5FB9E@mx12.valuehost.ru> X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: 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 ---