add riscv64 support

This commit is contained in:
EastDong 2023-06-30 14:00:17 +08:00
parent dde23998ea
commit c4d34f3117

View File

@ -2,7 +2,7 @@
Summary: A desktop recorder
Name: byzanz
Version: 0.3
Release: 0.25
Release: 0.26
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
%ifarch armv7l armv7hl armv7hnl riscv64
# 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
* Fri Jun 30 2023 EastDong <xudong23@iscas.ac.cn> - 0.3-0.26
- add riscv64 support
* Tue Jun 13 2023 EastDong <xudong23@iscas.ac.cn> - 0.3-0.25
- Fix '__atomic_load' discards 'volatile' qualifier