From 8763ccb226fabe4a6a8b9b043af208e0c5054d71 Mon Sep 17 00:00:00 2001 From: U2FsdGVkX1 Date: Thu, 2 Nov 2023 00:11:23 +0000 Subject: [PATCH] Add RISC-V 64 support Signed-off-by: U2FsdGVkX1 --- libffi.spec | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/libffi.spec b/libffi.spec index 6a36283..38b3307 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 -- Gitee