[Pkg-golang-commits] [golang] 17/27: * Updates for s390x support.
Michael Hudson-Doyle
mwhudson-guest at moszumanska.debian.org
Tue Mar 1 02:57:42 UTC 2016
This is an automated email from the git hooks/post-receive script.
mwhudson-guest pushed a commit to branch gbp
in repository golang.
commit 51fa113440fe2442e806551c8211eb8fe09dcbb2
Author: Michael Hudson-Doyle <michael.hudson at canonical.com>
Date: Fri Feb 12 10:32:22 2016 +1300
* Updates for s390x support.
---
debian/control | 2 +-
debian/helpers/goenv.sh | 2 +-
debian/rules | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index a566987..a04c82c 100644
--- a/debian/control
+++ b/debian/control
@@ -24,7 +24,7 @@ Depends: golang-src (>= ${source:Version}),
${misc:Depends},
${perl:Depends},
${shlibs:Depends},
- gccgo [!armel !armhf !amd64 !i386 !arm64 !ppc64 !ppc64el]
+ gccgo [!armel !armhf !amd64 !i386 !arm64 !ppc64 !ppc64el !s390x]
Breaks: golang-go-darwin-386,
golang-go-darwin-amd64,
golang-go-freebsd-386,
diff --git a/debian/helpers/goenv.sh b/debian/helpers/goenv.sh
index 4722d1c..dd15724 100755
--- a/debian/helpers/goenv.sh
+++ b/debian/helpers/goenv.sh
@@ -11,7 +11,7 @@ __goos__deb_arch_os() {
__goarch__deb_arch_cpu() {
case "$1" in
- amd64|arm|arm64|ppc64) echo "$1" ;;
+ amd64|arm|arm64|ppc64|s390x) echo "$1" ;;
i386) echo 386 ;;
ppc64el) echo ppc64le ;;
*) echo >&2 "error: unrecongized DEB_*_ARCH_CPU: $1"; exit 1 ;;
diff --git a/debian/rules b/debian/rules
index f5d93a9..2fc65d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -12,7 +12,7 @@ ifeq (ppc64, $(DEB_HOST_ARCH_CPU))
endif
DEB_HOST_ARCH := $(shell dpkg-architecture -qDEB_HOST_ARCH)
-golang_archs = armel armhf amd64 i386 arm64 ppc64 ppc64el
+golang_archs = armel armhf amd64 i386 arm64 ppc64 ppc64el s390x
IS_GOLANG_ARCH := true
ifeq (,$(filter $(DEB_HOST_ARCH),$(golang_archs)))
IS_GOLANG_ARCH := false
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-golang/golang.git
More information about the pkg-golang-commits
mailing list