!343 在loongarch64架构上,使能external_linker 和 cgo。
From: @streamlet_hy Reviewed-by: @hcnbxx Signed-off-by: @hcnbxx
This commit is contained in:
commit
6d5fcd542a
13
golang.spec
13
golang.spec
@ -12,19 +12,19 @@
|
|||||||
%define __find_requires %{nil}
|
%define __find_requires %{nil}
|
||||||
|
|
||||||
%bcond_with bootstrap
|
%bcond_with bootstrap
|
||||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||||
%bcond_without ignore_tests
|
%bcond_without ignore_tests
|
||||||
%else
|
%else
|
||||||
%bcond_with ignore_tests
|
%bcond_with ignore_tests
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||||
%global external_linker 1
|
%global external_linker 1
|
||||||
%else
|
%else
|
||||||
%global external_linker 0
|
%global external_linker 0
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||||
%global cgo_enabled 1
|
%global cgo_enabled 1
|
||||||
%else
|
%else
|
||||||
%global cgo_enabled 0
|
%global cgo_enabled 0
|
||||||
@ -66,7 +66,7 @@
|
|||||||
|
|
||||||
Name: golang
|
Name: golang
|
||||||
Version: 1.21.4
|
Version: 1.21.4
|
||||||
Release: 7
|
Release: 8
|
||||||
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/
|
||||||
@ -364,7 +364,10 @@ 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
|
||||||
* Thu Apr 16 2024 hanchao <hanchao63@huawei.com> - 1.21.4-7
|
* Thu Apr 18 2024 Huang Yang <huangyang@loongson.cn> - 1.21.4-8
|
||||||
|
- enable external_linker and cgo on loongarch64
|
||||||
|
|
||||||
|
* Tue Apr 16 2024 hanchao <hanchao63@huawei.com> - 1.21.4-7
|
||||||
- fix CVE-2023-45288
|
- fix CVE-2023-45288
|
||||||
|
|
||||||
* Thu Mar 28 2024 hanchao <hanchao63@huawei.com> - 1.21.4-6
|
* Thu Mar 28 2024 hanchao <hanchao63@huawei.com> - 1.21.4-6
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user