Add sw_64 support

Signed-off-by: 张少宁 <zhangshaoning@uniontech.com>
This commit is contained in:
张少宁 2025-02-25 07:34:44 +00:00 committed by Gitee
parent 674efc9e30
commit e8a2e849b5
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -9,7 +9,7 @@
Name:passenger
Summary: Phusion Passenger application server
Version: 6.0.17
Release: 3
Release: 4
License: Boost and BSD and MIT and zlib
URL: https://www.phusionpassenger.com
@ -78,7 +78,7 @@ This package contains documentation files for Phusion Passenger®.
%autosetup -n %{name}-release-%{version}
%build
%ifarch loongarch64 riscv64
%ifarch loongarch64 riscv64 sw_64
%configure || :
%endif
export EXTRA_CFLAGS="${CFLAGS:-%optflags} -Wno-deprecated"
@ -200,6 +200,9 @@ sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/python3|' %{buildroot}%{_datadir}/p
%{_mandir}/*/*
%changelog
* Tue Feb 25 2025 zhangshaoning <zhangshaoning@uniontech.com> - 6.0.17-4
- Add sw_64 support
* Wed Jul 05 2023 wujie <wujie@nj.iscas.ac.cn> - 6.0.17-3
- fix riscv configure