add loongarch64 support
This commit is contained in:
parent
40c69e4e24
commit
ac00444262
1021
add-loongarch64-support.patch
Normal file
1021
add-loongarch64-support.patch
Normal file
File diff suppressed because it is too large
Load Diff
14
libffi.spec
14
libffi.spec
@ -1,6 +1,6 @@
|
||||
Name: libffi
|
||||
Version: 3.4.2
|
||||
Release: 2.h2
|
||||
Release: 3
|
||||
Summary: A Portable Foreign Function Interface Library
|
||||
License: MIT
|
||||
URL: http://sourceware.org/libffi
|
||||
@ -10,7 +10,7 @@ Source2: ffitarget-multilib.h
|
||||
|
||||
Patch6000: backport-x86-64-Always-double-jump-table-slot-size-for-CET-71.patch
|
||||
Patch6001: backport-Fix-check-for-invalid-varargs-arguments-707.patch
|
||||
|
||||
Patch6002: add-loongarch64-support.patch
|
||||
BuildRequires: gcc gcc-c++ dejagnu
|
||||
|
||||
%description
|
||||
@ -52,7 +52,12 @@ BuildArch: noarch
|
||||
The help package contains man files.
|
||||
|
||||
%prep
|
||||
%autosetup -p1 -n %{name}-%{version}
|
||||
%setup -q
|
||||
%patch6000 -p1
|
||||
%patch6001 -p1
|
||||
%ifarch loongarch64
|
||||
%patch6002 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
%configure \
|
||||
@ -96,6 +101,9 @@ fi
|
||||
%{_infodir}/libffi.info.gz
|
||||
|
||||
%changelog
|
||||
* Fri Nov 18 2022 doupengda<doupengda@loongson.cn> - 3.4.2-3
|
||||
- add loongarch support
|
||||
|
||||
* Mon Jul 25 2022 chenziyang<chenziyang4@huawei.com> - 3.4.2-2.h2
|
||||
- Type:bugfix
|
||||
- CVE:NA
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user