fix issue:I9KZET compile error on riscv64

This commit is contained in:
wangyaoyong 2024-05-23 18:05:56 +08:00
parent 3c368ff49c
commit 00558e8fa7
2 changed files with 34 additions and 1 deletions

View File

@ -0,0 +1,29 @@
From b93998a221ad9e78540253016eadd634a39c1598 Mon Sep 17 00:00:00 2001
From: wangyaoyong <yaoyong.oerv@isrc.iscas.ac.cn>
Date: Thu, 23 May 2024 17:59:49 +0800
Subject: [PATCH 1/1] fix compile error on riscv64
---
Makefile.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Makefile.in b/Makefile.in
index 6affd14..0e8ff16 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -598,10 +598,10 @@ $(Program): .build $(OBJECTS) $(BUILTINS_DEP) $(LIBDEP) rust_builtins_lib rust
@echo " ***********************************************************"
@echo
-rust_mainland_lib:
+rust_mainland_lib: $(SHLIB_LIBRARY)
@for it in $(RUST_MAINLAND_DIRS); do cd $$it ; cargo build; cd -; done
-rust_builtins_lib:
+rust_builtins_lib: $(SHLIB_LIBRARY)
@for it in $(RUST_BUILTINS_DIRS); do cd $$it ; cargo build; cd -; done
--
2.25.1

View File

@ -6,7 +6,7 @@
Version: %{baseversion}%{patchleveltag}
Name: utshell
Summary: The utshell respect Bash
Release: 0%{?dist}.3
Release: 0%{?dist}.4
License: GPLv3+
Source0: utshell-%{baseversion}.tar.gz
@ -18,6 +18,7 @@ Patch0003: 0003-fix-exec-c-exec-l-Redundant-output.patch
Patch0004: 0004-fix-complete-p-no-display.patch
Patch0005: 0005-fix-translation-files-correlation.patch
Patch0006: 0006-fix-select-error.patch
Patch0007: 0007-fix-compile-error-on-riscv64.patch
# Other patches
# We don't want to add '/etc:/usr/etc' in standard utils path.
@ -134,6 +135,9 @@ end
%{_includedir}/%{name}
%changelog
* Thu May 23 2024 wangyaoyong <yaoyong.oerv@isrc.iscas.ac.cn> - 0.5.0-0.4
- fix:I9KZET riscv64 下cargo build编译时出现缺少依赖的问题
* Thu May 9 2024 wangmeng<wangmengc@uniontech.com> - 0.5.0-0.3
- fix:I9CANW select 关键字没有输出