diff --git a/binutils.spec b/binutils.spec index 996fb7dfba697d9c4b5efe43415e4d391b8bc8cc..c68cb508faa359174752477984d276f0a2060346 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 # Determine if this is a native build or a cross build. # # For a cross build add --define "binutils_target " to the command @@ -103,7 +103,12 @@ URL: https://sourceware.org/binutils #----End of Configure Options------------------------------------------------ # Note - in the future the gold linker may become deprecated. +%ifnarch riscv64 %bcond_without gold +%else +# RISC-V does not have ld.gold thus disable by default. +%bcond_with gold +%endif # Default: Not bootstrapping. %bcond_with bootstrap @@ -853,5 +858,8 @@ exit 0 %endif %changelog +* Mon Jul 11 2022 Weisson - 2.38-2 +- Add support for riscv64 architecture. + * Thu Feb 24 2022 Chunmei Xu - 2.38-1 - Rebase on GNU Binutils 2.38.