add loongarch64 for golang_arches
Signed-off-by: Wenlong Zhang <zhangwenlong@loongson.cn>
This commit is contained in:
parent
68d825e06b
commit
4b656a211c
25
0001-add-loongarch64-for-golang_arches.patch
Normal file
25
0001-add-loongarch64-for-golang_arches.patch
Normal file
@ -0,0 +1,25 @@
|
||||
From 28921237101c986eeee13808a1167db13dc788ce Mon Sep 17 00:00:00 2001
|
||||
From: Wenlong Zhang <zhangwenlong@loongson.cn>
|
||||
Date: Tue, 13 Dec 2022 12:07:10 +0000
|
||||
Subject: [PATCH] add loongarch64 for golang_arches
|
||||
|
||||
---
|
||||
macros.go | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/macros.go b/macros.go
|
||||
index cd493e7..f20f6a1 100644
|
||||
--- a/macros.go
|
||||
+++ b/macros.go
|
||||
@@ -12,7 +12,7 @@
|
||||
# redhat-rpm-macros.
|
||||
|
||||
# Define arches for PA and SA
|
||||
-%golang_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64
|
||||
+%golang_arches %{ix86} x86_64 %{arm} aarch64 ppc64le s390x riscv64 loongarch64
|
||||
%gccgo_arches %{mips}
|
||||
%go_arches %{golang_arches} %{gccgo_arches}
|
||||
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -3,7 +3,7 @@
|
||||
|
||||
Name: %{vendor}-rpm-config
|
||||
Version: 30
|
||||
Release: 32
|
||||
Release: 33
|
||||
License: GPL+
|
||||
Summary: specific rpm configuration files
|
||||
URL: https://gitee.com/openeuler/openEuler-rpm-config
|
||||
@ -25,6 +25,7 @@ Patch11: update-config.guess-and-config.sub-for-loongarch64.patch
|
||||
Patch12: add-loongarch64-to-generic_arches.patch
|
||||
Patch13: add-loongarch64-support-for-config.guess-and-config.sub.patch
|
||||
Patch14: backport-kmp-feature.patch
|
||||
Patch15: 0001-add-loongarch64-for-golang_arches.patch
|
||||
|
||||
Provides: python-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
Provides: python2-rpm-macros = %{?epoch:%{epoch}:}%{version}-%{release}
|
||||
@ -131,6 +132,9 @@ sed -i "s/__vendor/%{vendor}/g" `grep "__vendor" -rl %{buildroot}%{_rpmconfigdir
|
||||
%{rpmvdir}/find-requires.ksyms
|
||||
|
||||
%changelog
|
||||
* Tue Dec 13 2022 Wenlong Zhang <zhangwenlong@loongson.cn> - 30-33
|
||||
- add loongarch64 for golang_arches
|
||||
|
||||
* Wed Dec 7 2022 yangmingtai <yangmingtai@huawei.com> - 30-32
|
||||
- fix latest_kernel macro
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user