!32 fix configure for sw_64

From: @panchenbo 
Reviewed-by: @small_leek 
Signed-off-by: @small_leek
This commit is contained in:
openeuler-ci-bot 2023-09-28 03:13:56 +00:00 committed by Gitee
commit 8846e31d7d
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.8
Release: 5
Release: 6
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}-%{version}
%build
%ifarch loongarch64 riscv64
%ifarch loongarch64 sw_64 riscv64
%configure || :
%endif
export EXTRA_CFLAGS="${CFLAGS:-%optflags} -Wno-deprecated"
@ -201,6 +201,9 @@ sed -i 's|^#!/usr/bin/env python$|#!/usr/bin/python3|' %{buildroot}%{_datadir}/p
%{_mandir}/*/*
%changelog
* Tue Aug 15 2023 yangchenguang <yangchenguang@kylinsec.com.cn> - 6.0.8-6
- fix configure for sw_64
* Wed Jul 05 2023 wujie <wujie@nj.iscas.ac.cn> - 6.0.8-5
- fix configure for riscv64 and loongarch64(<huajingyun@loongson.cn>)