diff --git a/binutils.spec b/binutils.spec index e8204c1aaa57ddbae2480d6bf09196bfa76b0c1e..e8fc9572a45bec48df42a43befca8c844cade173 100644 --- a/binutils.spec +++ b/binutils.spec @@ -1,7 +1,7 @@ Summary: Binary utilities Name: binutils Version: 2.37 -Release: 26 +Release: 27 License: GPLv3+ URL: https://sourceware.org/binutils @@ -199,12 +199,12 @@ touch */configure %build CARGS= -case %{_target_platform} in i?86*|arm*|aarch64*|riscv64*|loongarch64*) +case %{_target_platform} in i?86*|arm*|aarch64*|riscv64*|loongarch64*|ppc64le*) CARGS="$CARGS --enable-64-bit-bfd" ;; esac -case %{_target_platform} in x86_64*|i?86*|aarch64*|riscv64*|loongarch64*) +case %{_target_platform} in x86_64*|i?86*|aarch64*|riscv64*|loongarch64*|ppc64le*) CARGS="$CARGS --enable-targets=x86_64-pep --enable-relro=yes" ;; esac @@ -372,6 +372,24 @@ INPUT ( %{_libdir}/libopcodes.a -lbfd ) EOF %endif +%ifarch ppc64le +tee %{buildroot}%{_libdir}/libbfd.so < - 2.37-27 +- add ppc64le support + * Fri Mar 08 2024 eastb233 - 2.37-26 - Support AArch64 SME