[packages/kodi] better match arch value with kodi
atler
atler at pld-linux.org
Mon Jan 16 10:43:43 CET 2023
commit 1653c9fe1a488f1ce849bb811e17475be6445239
Author: Jan Palus <atler at pld-linux.org>
Date: Sun Jan 15 21:15:57 2023 +0100
better match arch value with kodi
kodi.spec | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/kodi.spec b/kodi.spec
index a775bb7..9e3e445 100644
--- a/kodi.spec
+++ b/kodi.spec
@@ -41,6 +41,15 @@
%ifarch %{x86_with_sse2}
%define with_sse2 1
%endif
+%ifarch %{x8664} x32
+%define kodi_arch x86_64-linux
+%endif
+%ifarch %{x86}
+%define kodi_arch i486-linux
+%endif
+%ifnarch %{x8664} %{x86} x32
+%define kodi_arch %{_target_base_arch}
+%endif
%define codename Matrix
#define subver rc1
@@ -246,7 +255,7 @@ Header files for Kodi.
%{cmake_on_off ssse3 ENABLE_SSSE3} \
%{cmake_on_off sse41 ENABLE_SSE4_1} \
%{cmake_on_off sse42 ENABLE_SSE4_2} \
- -DWITH_ARCH=%{_target_base_arch} \
+ -DWITH_ARCH=%{kodi_arch} \
-DWITH_CPU=%{_target_cpu}
%{__make} -C build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/kodi.git/commitdiff/9a409828e6a3dbb331b8ea9274de7e7fae3f1e4c
More information about the pld-cvs-commit
mailing list