fix build error for loongarch64

Signed-off-by: zhangwenlong01 <zhangwenlong@loongson.cn>
(cherry picked from commit ab448e9c4c9ac0f334fd4fc519e73c193597fcc8)
This commit is contained in:
zhangwenlong01 2024-03-27 09:49:20 +00:00 committed by openeuler-sync-bot
parent a0fd601fe3
commit 1628c33a1f

View File

@ -60,10 +60,13 @@
%ifarch ppc64le %ifarch ppc64le
%global gohostarch ppc64le %global gohostarch ppc64le
%endif %endif
%ifarch loongarch64
%global gohostarch loong64
%endif
Name: golang Name: golang
Version: 1.21.4 Version: 1.21.4
Release: 3 Release: 4
Summary: The Go Programming Language Summary: The Go Programming Language
License: BSD and Public Domain License: BSD and Public Domain
URL: https://golang.org/ URL: https://golang.org/
@ -354,6 +357,9 @@ fi
%files devel -f go-tests.list -f go-misc.list -f go-src.list %files devel -f go-tests.list -f go-misc.list -f go-src.list
%changelog %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 * 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 - fix CVE-2024-24783,CVE-2024-24785,CVE-2023-45290,CVE-2023-45289