fix build error on loongarch64

This commit is contained in:
Wenlong Zhang 2024-10-29 20:40:19 +08:00
parent bfb577fcea
commit c4aa5312c3
2 changed files with 27 additions and 16 deletions

File diff suppressed because one or more lines are too long

View File

@ -7,7 +7,7 @@
Name: lib-shim-v2
Version: 0.0.1
Release: 8
Release: 9
URL: https://gitee.com/openeuler/lib-shim-v2
Source: %{name}-%{version}.tar.gz
Source1: libc.tar.gz
@ -16,10 +16,8 @@ Group: Application/System
License: Mulan PSL v2
ExclusiveArch: x86_64 aarch64 loongarch64 riscv64
%ifarch loongarch64
Patch01: 0001-add-loongarch64-support-for-nix.patch
Patch02: 0001-add-loongarch64-support-for-prost-build.patch
%endif
Patch03: 0002-add-riscv-support.patch
%ifarch riscv64
@ -77,6 +75,9 @@ install -m 0755 target/release/libshim_v2.so ${RPM_BUILD_ROOT}/%{_libdir}/libshi
%{_includedir}/shim_v2.h
%changelog
* Tue Oct 29 2024 Wenlong Zhang <zhangwenlong@loongson.cn> - 0.0.1-9
- fix build error on loongarch64
* Fri Sep 01 2023 xuxuepeng <xuxuepeng1@huawei.com> - 0.0.1-8
- Type:Enhancement
- ID:NA