[packages/box64] add support for ppc64le and riscv64
atler
atler at pld-linux.org
Sat Aug 19 18:30:26 CEST 2023
commit 1b5752a469bea9fdeb2008ab5aef9052663ab9b0
Author: Jan Palus <atler at pld-linux.org>
Date: Sat Aug 19 17:54:54 2023 +0200
add support for ppc64le and riscv64
box64.spec | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
---
diff --git a/box64.spec b/box64.spec
index f281ffe..f2453c7 100644
--- a/box64.spec
+++ b/box64.spec
@@ -23,7 +23,7 @@ URL: https://box86.org
BuildRequires: cmake >= 3.4
BuildRequires: python3
BuildRequires: rpmbuild(macros) >= 1.605
-ExclusiveArch: aarch64
+ExclusiveArch: aarch64 ppc64le riscv64
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%define _noautoprov libgcc_s.so libstdc\\+\\+.so
@@ -43,6 +43,12 @@ Linux systems, like ARM (host system needs to be 64bit little-endian).
%{?with_lx2160a:-DLX2160A:BOOL=ON} \
%{?with_odroidn2:-DODROIDN2:BOOL=ON} \
%{?with_phytium:-DPHYTIUM:BOOL=ON} \
+%ifarch ppc64le
+ -DPPC64LE:BOOL=ON \
+%endif
+%ifarch riscv64
+ -DRV64:BOOL=ON \
+%endif
%{?with_rk3326:-DRK3326:BOOL=ON} \
%{?with_rk3399:-DRK3399:BOOL=ON} \
%{?with_rk3588:-DRK3588:BOOL=ON} \
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/box64.git/commitdiff/567662f21de18fdb5727fadb3d37eaf0886800a0
More information about the pld-cvs-commit
mailing list