diff --git a/gdb.spec b/gdb.spec index 6c112e13f497d82e15c0577727d87dc71c7e884e..a4c54e046b37d4419c6c10b0736b0b8918dd138f 100644 --- a/gdb.spec +++ b/gdb.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %global _python_bytecompile_extra 0 %global librpmso librpm.so.9 @@ -178,7 +178,7 @@ export CXXFLAGS="$CFLAGS" --with-lzma \ --without-libunwind \ --enable-64-bit-bfd \ -%ifnarch loongarch64 +%ifnarch loongarch64 riscv64 --enable-inprocess-agent \ %endif --with-system-zlib \ @@ -190,7 +190,7 @@ export CXXFLAGS="$CFLAGS" --with-mpfr \ --with-auto-load-dir='$debugdir:$datadir/auto-load' \ --with-auto-load-safe-path='$debugdir:$datadir/auto-load' \ - --enable-targets=aarch64-linux-gnu + --enable-targets=aarch64-linux-gnu,riscv64-linux-gnu %make_build CFLAGS="$CFLAGS" LDFLAGS="$LDFLAGS" maybe-configure-gdb perl -i.relocatable -pe 's/^(D\[".*_RELOCATABLE"\]=" )1(")$/${1}0$2/' gdb/config.status @@ -275,7 +275,7 @@ cd %{gdb_build} %{_bindir}/gdbserver %{abidir}/gdbserver-option.list %{_mandir}/*/gdbserver.1* -%ifnarch loongarch64 +%ifnarch loongarch64 riscv64 %{_libdir}/libinproctrace.so %{abidir}/libinproctrace.dump %endif @@ -285,6 +285,9 @@ cd %{gdb_build} %changelog +* Thu Nov 9 2023 Guoguo - 13.2-2 +- Add support for riscv64 + * Tue Oct 31 2023 Wenlong Zhang - 13.2-1 - update to 13.2