diff --git a/golang.spec b/golang.spec index 01f72aa721364e8ef117131fb6f23cd44db357da..d214f53c37f9ff8d25e1546b872b648c3682db10 100644 --- a/golang.spec +++ b/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 - 1.21.4-7 +* Thu Apr 18 2024 Huang Yang - 1.21.4-8 +- enable external_linker and cgo on loongarch64 + +* Tue Apr 16 2024 hanchao - 1.21.4-7 - fix CVE-2023-45288 * Thu Mar 28 2024 hanchao - 1.21.4-6