!47 add loongarch64 support
From: @dpdwaj Reviewed-by: @xiezhipeng1 Signed-off-by: @xiezhipeng1
This commit is contained in:
commit
654151715e
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
|
Name: libffi
|
||||||
Version: 3.4.2
|
Version: 3.4.2
|
||||||
Release: 2.h2
|
Release: 3
|
||||||
Summary: A Portable Foreign Function Interface Library
|
Summary: A Portable Foreign Function Interface Library
|
||||||
License: MIT
|
License: MIT
|
||||||
URL: http://sourceware.org/libffi
|
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
|
Patch6000: backport-x86-64-Always-double-jump-table-slot-size-for-CET-71.patch
|
||||||
Patch6001: backport-Fix-check-for-invalid-varargs-arguments-707.patch
|
Patch6001: backport-Fix-check-for-invalid-varargs-arguments-707.patch
|
||||||
|
Patch6002: add-loongarch64-support.patch
|
||||||
BuildRequires: gcc gcc-c++ dejagnu
|
BuildRequires: gcc gcc-c++ dejagnu
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -52,7 +52,12 @@ BuildArch: noarch
|
|||||||
The help package contains man files.
|
The help package contains man files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -p1 -n %{name}-%{version}
|
%setup -q
|
||||||
|
%patch6000 -p1
|
||||||
|
%patch6001 -p1
|
||||||
|
%ifarch loongarch64
|
||||||
|
%patch6002 -p1
|
||||||
|
%endif
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure \
|
%configure \
|
||||||
@ -96,6 +101,9 @@ fi
|
|||||||
%{_infodir}/libffi.info.gz
|
%{_infodir}/libffi.info.gz
|
||||||
|
|
||||||
%changelog
|
%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
|
* Mon Jul 25 2022 chenziyang<chenziyang4@huawei.com> - 3.4.2-2.h2
|
||||||
- Type:bugfix
|
- Type:bugfix
|
||||||
- CVE:NA
|
- CVE:NA
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user