add sw_64 support

Signed-off-by: liweigang <liweiganga@uniontech.com>
(cherry picked from commit d1fc6de2179a4f28614402d4978edd76ec43772f)
This commit is contained in:
liweigang 2025-02-27 15:49:05 +08:00 committed by openeuler-sync-bot
parent 6ac324e8a7
commit 0e7e909f66

View File

@ -2,7 +2,7 @@
Summary: A desktop recorder
Name: byzanz
Version: 0.3
Release: 0.26
Release: 0.27
License: GPLv3+
URL: http://git.gnome.org/browse/byzanz/
#Source0: http://download.gnome.org/sources/%{name}/0.2/%{name}-%{version}.tar.bz2
@ -30,7 +30,7 @@ A command-line recording tool is included.
%build
./autogen.sh
CFLAGS="%optflags -Wno-deprecated-declarations"
%ifarch armv7l armv7hl armv7hnl riscv64
%ifarch armv7l armv7hl armv7hnl riscv64 sw_64
# http://rwmj.wordpress.com/2014/01/06/alignment-errors-on-fedora-arm/
CFLAGS="$CFLAGS -Wno-cast-align"
%endif
@ -54,6 +54,9 @@ make DESTDIR=%{buildroot} install
%{_mandir}/man1/byzanz-record.1*
%changelog
* Thu Feb 27 2025 liweigang <liweiganga@uniontech.com> - 0.3-0.27
- add sw_64 support
* Fri Jun 30 2023 EastDong <xudong23@iscas.ac.cn> - 0.3-0.26
- add riscv64 support