Disable multi os directory to avoid build failuer for RISC-V

Signed-off-by: whoisxxx <zhangxuzhou4@huawei.com>
This commit is contained in:
whoisxxx 2020-05-28 11:14:58 +08:00
parent 03f50aeefa
commit ac5e60bf8c

View File

@ -1,6 +1,6 @@
Name: libffi Name: libffi
Version: 3.3 Version: 3.3
Release: 7 Release: 8
Summary: A Portable Foreign Function Interface Library Summary: A Portable Foreign Function Interface Library
License: MIT License: MIT
URL: http://sourceware.org/libff URL: http://sourceware.org/libff
@ -50,7 +50,12 @@ The help package contains man files.
%autosetup -n %{name}-%{version} %autosetup -n %{name}-%{version}
%build %build
%configure --disable-static %configure \
%ifarch riscv64
--disable-multi-os-directory \
%endif
--disable-static
%make_build %make_build
%install %install
@ -86,6 +91,12 @@ fi
%{_infodir}/libffi.info.gz %{_infodir}/libffi.info.gz
%changelog %changelog
* Sat May 28 2020 whoisxxx<zhangxuzhou4@huawei.com> - 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<chengquan3@huawei.com> - 3.3-7 * Sat Mar 21 2020 chengquan<chengquan3@huawei.com> - 3.3-7
- Type:enhancement - Type:enhancement
- ID:NA - ID:NA