summaryrefslogtreecommitdiff
path: root/0001-add-loongarch64-for-golang_arches.patch
blob: 4623504b9b422990757fab5c0286eb25749bb849 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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