[packages/golang] add more supported architectures

atler atler at pld-linux.org
Tue Dec 28 00:06:24 CET 2021


commit a103298efb46188f0c2bf64eaa0d9d8c1691279d
Author: Jan Palus <atler at pld-linux.org>
Date:   Tue Dec 28 00:05:00 2021 +0100

    add more supported architectures

 golang.spec | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/golang.spec b/golang.spec
index 9cb0924..9c303ae 100644
--- a/golang.spec
+++ b/golang.spec
@@ -54,7 +54,7 @@ BuildRequires:	tzdata
 %endif
 Requires:	ca-certificates
 Conflicts:	gcc-go
-ExclusiveArch:	%{ix86} %{x8664} %{armv5} %{armv6} %{armv7} aarch64 mips64 mips64le ppc64 ppc64le s390x
+ExclusiveArch:	%{ix86} %{x8664} %{armv5} %{armv6} %{armv7} aarch64 mips mipsel mips64 mips64el ppc64 ppc64le riscv64 s390x
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %define		no_install_post_strip	1
@@ -85,10 +85,13 @@ BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 %ifarch aarch64
 %define	GOARCH arm64
 %endif
-%ifarch mips64
-%define	GOARCH mips64x
+%ifarch mipsel
+%define	GOARCH mipsle
 %endif
-%ifarch ppc64 ppc64le s390x
+%ifarch mips64el
+%define	GOARCH mips64le
+%endif
+%ifarch mips mips64 ppc64 ppc64le riscv64 s390x
 %define	GOARCH %{_arch}
 %endif
 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/golang.git/commitdiff/ff5386bfbfdb5edf630b4b9ea0647c097e8a2fb5



More information about the pld-cvs-commit mailing list