]> git.pld-linux.org Git - packages/kodi.git/commitdiff
better match arch value with kodi
authorJan Palus <atler@pld-linux.org>
Sun, 15 Jan 2023 20:15:57 +0000 (21:15 +0100)
committerJan Palus <atler@pld-linux.org>
Sun, 15 Jan 2023 20:15:57 +0000 (21:15 +0100)
kodi.spec

index a775bb7ce27ff09a0a27567ba2da5fe90c21e2c2..9e3e44597a3dc9ca87b1817c160f021cc0f42d76 100644 (file)
--- a/kodi.spec
+++ b/kodi.spec
 %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
This page took 0.19805 seconds and 4 git commands to generate.