diff options
Diffstat (limited to 'debian/patches/kodi/0012-The-baseline-of-the-i386-port-does-not-include-SSE.patch')
-rw-r--r-- | debian/patches/kodi/0012-The-baseline-of-the-i386-port-does-not-include-SSE.patch | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/debian/patches/kodi/0012-The-baseline-of-the-i386-port-does-not-include-SSE.patch b/debian/patches/kodi/0012-The-baseline-of-the-i386-port-does-not-include-SSE.patch new file mode 100644 index 0000000..fc0d6f9 --- /dev/null +++ b/debian/patches/kodi/0012-The-baseline-of-the-i386-port-does-not-include-SSE.patch @@ -0,0 +1,96 @@ +From 93dd546db947f872f337d25038de60e6bc939440 Mon Sep 17 00:00:00 2001 +From: Adrian Bunk <bunk@debian.org> +Date: Sat, 30 May 2020 21:50:37 +0200 +Subject: [PATCH] The baseline of the i386 port does not include SSE + +SSE2 is always enabled on amd64. +--- + cmake/scripts/linux/ArchSetup.cmake | 2 +- + xbmc/cores/AudioEngine/CMakeLists.txt | 16 ++++++++-------- + xbmc/rendering/CMakeLists.txt | 16 ++++++++-------- + xbmc/utils/CMakeLists.txt | 10 +++++----- + 4 files changed, 22 insertions(+), 22 deletions(-) + +diff --git a/cmake/scripts/linux/ArchSetup.cmake b/cmake/scripts/linux/ArchSetup.cmake +index d3ad51a7..c02ac4a1 100644 +--- a/cmake/scripts/linux/ArchSetup.cmake ++++ b/cmake/scripts/linux/ArchSetup.cmake +@@ -18,7 +18,7 @@ else() + elseif(CPU MATCHES "i.86") + set(ARCH i486-linux) + set(NEON False) +- add_options(CXX ALL_BUILDS "-msse") ++ #add_options(CXX ALL_BUILDS "-msse") + elseif(CPU STREQUAL arm1176jzf-s) + set(ARCH arm) + set(NEON False) +diff --git a/xbmc/cores/AudioEngine/CMakeLists.txt b/xbmc/cores/AudioEngine/CMakeLists.txt +index c5d4d978..f5ad9a47 100644 +--- a/xbmc/cores/AudioEngine/CMakeLists.txt ++++ b/xbmc/cores/AudioEngine/CMakeLists.txt +@@ -156,11 +156,11 @@ endif() + + core_add_library(audioengine) + target_include_directories(${CORE_LIBRARY} PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}) +-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +- if(HAVE_SSE) +- target_compile_options(${CORE_LIBRARY} PRIVATE -msse) +- endif() +- if(HAVE_SSE2) +- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +- endif() +-endif() ++#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) ++# if(HAVE_SSE) ++# target_compile_options(${CORE_LIBRARY} PRIVATE -msse) ++# endif() ++# if(HAVE_SSE2) ++# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) ++# endif() ++#endif() +diff --git a/xbmc/rendering/CMakeLists.txt b/xbmc/rendering/CMakeLists.txt +index c212a962..aa999703 100644 +--- a/xbmc/rendering/CMakeLists.txt ++++ b/xbmc/rendering/CMakeLists.txt +@@ -16,12 +16,12 @@ if(OPENGL_FOUND OR OPENGLES_FOUND) + endif() + + core_add_library(rendering) +-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +- if(HAVE_SSE) +- target_compile_options(${CORE_LIBRARY} PRIVATE -msse) +- endif() +- if(HAVE_SSE2) +- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +- endif() +-endif() ++#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) ++# if(HAVE_SSE) ++# target_compile_options(${CORE_LIBRARY} PRIVATE -msse) ++# endif() ++# if(HAVE_SSE2) ++# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) ++# endif() ++#endif() + +diff --git a/xbmc/utils/CMakeLists.txt b/xbmc/utils/CMakeLists.txt +index 904b5cc9..48406633 100644 +--- a/xbmc/utils/CMakeLists.txt ++++ b/xbmc/utils/CMakeLists.txt +@@ -232,8 +232,8 @@ endif() + + core_add_library(utils) + +-if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) +- if(HAVE_SSE2) +- target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) +- endif() +-endif() ++#if(NOT CORE_SYSTEM_NAME STREQUAL windows AND NOT CORE_SYSTEM_NAME STREQUAL windowsstore) ++# if(HAVE_SSE2) ++# target_compile_options(${CORE_LIBRARY} PRIVATE -msse2) ++# endif() ++#endif() +-- +2.35.1 + |