From ac5e60bf8c7125d1fec10105fdc5f6f5f7ccfb06 Mon Sep 17 00:00:00 2001 From: whoisxxx Date: Thu, 28 May 2020 11:14:58 +0800 Subject: [PATCH] Disable multi os directory to avoid build failuer for RISC-V Signed-off-by: whoisxxx --- libffi.spec | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libffi.spec b/libffi.spec index 803b4d9..d940607 100644 --- a/libffi.spec +++ b/libffi.spec @@ -1,6 +1,6 @@ Name: libffi Version: 3.3 -Release: 7 +Release: 8 Summary: A Portable Foreign Function Interface Library License: MIT URL: http://sourceware.org/libff @@ -50,7 +50,12 @@ The help package contains man files. %autosetup -n %{name}-%{version} %build -%configure --disable-static +%configure \ +%ifarch riscv64 + --disable-multi-os-directory \ +%endif + --disable-static + %make_build %install @@ -86,6 +91,12 @@ fi %{_infodir}/libffi.info.gz %changelog +* Sat May 28 2020 whoisxxx - 3.3-8 +- Type:enhancement +- ID:NA +- SUG:NA +- DESC:Disable multi os directory to avoid compile failure for RISC-V + * Sat Mar 21 2020 chengquan - 3.3-7 - Type:enhancement - ID:NA