!318 [sync] PR-313: fix build error for loongarch64

From: @openeuler-sync-bot 
Reviewed-by: @hcnbxx, @jing-rui 
Signed-off-by: @jing-rui
This commit is contained in:
openeuler-ci-bot 2024-03-28 08:36:49 +00:00 committed by Gitee
commit 68cf0a0025
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -60,10 +60,13 @@
%ifarch ppc64le
%global gohostarch ppc64le
%endif
%ifarch loongarch64
%global gohostarch loong64
%endif
Name: golang
Version: 1.21.4
Release: 3
Release: 4
Summary: The Go Programming Language
License: BSD and Public Domain
URL: https://golang.org/
@ -354,6 +357,9 @@ fi
%files devel -f go-tests.list -f go-misc.list -f go-src.list
%changelog
* Tue Mar 26 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 1.21.4-4
- fix build error for loongarch64
* Fri Mar 15 2024 hanchao <hanchao63@huawei.com> - 1.21.4-3
- fix CVE-2024-24783,CVE-2024-24785,CVE-2023-45290,CVE-2023-45289