enable external_linker and cgo on loongarch64
This commit is contained in:
parent
9d72342a3f
commit
6bf75f794e
13
golang.spec
13
golang.spec
@ -12,19 +12,19 @@
|
||||
%define __find_requires %{nil}
|
||||
|
||||
%bcond_with bootstrap
|
||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
||||
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||
%bcond_without ignore_tests
|
||||
%else
|
||||
%bcond_with ignore_tests
|
||||
%endif
|
||||
|
||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
||||
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||
%global external_linker 1
|
||||
%else
|
||||
%global external_linker 0
|
||||
%endif
|
||||
|
||||
%ifarch x86_64 aarch64 riscv64 ppc64le
|
||||
%ifarch x86_64 aarch64 riscv64 loongarch64 ppc64le
|
||||
%global cgo_enabled 1
|
||||
%else
|
||||
%global cgo_enabled 0
|
||||
@ -66,7 +66,7 @@
|
||||
|
||||
Name: golang
|
||||
Version: 1.21.4
|
||||
Release: 7
|
||||
Release: 8
|
||||
Summary: The Go Programming Language
|
||||
License: BSD and Public Domain
|
||||
URL: https://golang.org/
|
||||
@ -364,7 +364,10 @@ fi
|
||||
%files devel -f go-tests.list -f go-misc.list -f go-src.list
|
||||
|
||||
%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
|
||||
|
||||
* Thu Mar 28 2024 hanchao <hanchao63@huawei.com> - 1.21.4-6
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user