diff --git a/libffi.spec b/libffi.spec index 6a362836143f96ebd858ebaa2229eb4a316cfd40..38b330764f7ab11343097fa97f348eaf2eb9aa87 100644 --- a/libffi.spec +++ b/libffi.spec @@ -1,4 +1,4 @@ -%define anolis_release 1 +%define anolis_release 2 %bcond_with bootstrap @@ -57,7 +57,12 @@ developing applications that use %{name}. # gobject-introspection failures: # https://gitlab.haskell.org/ghc/ghc/-/issues/20051 # https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283 -%configure --disable-static --disable-exec-static-tramp +%configure \ + %ifarch riscv64 + --libdir=%{_libdir} \ + %endif + --disable-static \ + --disable-exec-static-tramp %make_build %check @@ -84,6 +89,9 @@ developing applications that use %{name}. %{_infodir}/libffi.info.* %changelog +* Thu Nov 02 2023 Songsong Zhang - 3.4.4-2 +- Add RISC-V 64 support + * Sat Dec 31 2022 Funda Wang - 3.4.4-1 - New version 3.4.4