Add sw_64 support

Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
This commit is contained in:
张少宁 2025-02-17 03:34:57 +00:00 committed by Gitee
parent 4065897d6f
commit 65f2f016ff
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: motif
Version: 2.3.8
Release: 6
Release: 7
Summary: Run-time libraries and programs
License: LGPLv2+
URL: https://motif.ics.com/
@ -46,7 +46,7 @@ This package includes man files for %{name}.
%prep
%autosetup -p1
sed -i 's/-fno-strict-aliasing/-fstack-protector-strong -fno-strict-aliasing/g' configure.ac
%ifarch loongarch64 riscv64
%ifarch loongarch64 riscv64 sw_64
%_update_config_guess
%_update_config_sub
%endif
@ -91,6 +91,9 @@ rm -f $RPM_BUILD_ROOT%{_libdir}/*.la
%{_mandir}/man*/*
%changelog
* Mon Feb 17 2025 zhangshaoning <zhangshaoning@uniontech.com> - 2.3.8-7
- Add sw_64 support
* Fri Oct 25 2024 yaoxin <yao_xin001@hoperun.com> - 2.3.8-6
- Fix CVE-2022-44617 and CVE-2022-46285