!47 add loongarch64 support

From: @dpdwaj 
Reviewed-by: @xiezhipeng1 
Signed-off-by: @xiezhipeng1
This commit is contained in:
openeuler-ci-bot 2022-12-06 09:34:39 +00:00 committed by Gitee
commit 654151715e
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 1032 additions and 3 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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