!19 修复riscv64上config.guess问题

From: @laokz 
Reviewed-by: @Charlie_li 
Signed-off-by: @Charlie_li
This commit is contained in:
openeuler-ci-bot 2023-07-12 11:26:15 +00:00 committed by Gitee
commit 6745a42d20
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: motif Name: motif
Version: 2.3.8 Version: 2.3.8
Release: 3 Release: 4
Summary: Run-time libraries and programs Summary: Run-time libraries and programs
License: LGPLv2+ License: LGPLv2+
URL: https://motif.ics.com/ URL: https://motif.ics.com/
@ -41,7 +41,7 @@ This package includes man files for %{name}.
%prep %prep
%autosetup -p1 %autosetup -p1
sed -i 's/-fno-strict-aliasing/-fstack-protector-strong -fno-strict-aliasing/g' configure.ac sed -i 's/-fno-strict-aliasing/-fstack-protector-strong -fno-strict-aliasing/g' configure.ac
%ifarch loongarch64 %ifarch loongarch64 riscv64
%_update_config_guess %_update_config_guess
%_update_config_sub %_update_config_sub
%endif %endif
@ -86,6 +86,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Wed Jun 28 2023 laokz <zhangkai@iscas.ac.cn> - 2.3.8-4
- update config.guess and config.sub for riscv64
* Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 2.3.8-3 * Tue Dec 13 2022 huajingyun <huajingyun@loongson.cn> - 2.3.8-3
- update config.guess and config.sub for loongarch64 - update config.guess and config.sub for loongarch64