From e5ea4f4517128f71d26276177890f39f6a1d1bde Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Thu, 17 Feb 2022 18:52:20 +0000 Subject: [PATCH] Don't check for SSE2 support on i386 Bug-Debian: https://bugs.debian.org/930935 Forwarded: no =================================================================== Gbp-Pq: Name dont-detect-sse2.patch --- Source/cmake/WebKitCompilerFlags.cmake | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake index 77ebb802eb..6304f7fed9 100644 --- a/Source/cmake/WebKitCompilerFlags.cmake +++ b/Source/cmake/WebKitCompilerFlags.cmake @@ -148,15 +148,6 @@ if (COMPILER_IS_GCC_OR_CLANG) if (CMAKE_CXX_COMPILER_ID MATCHES "GNU") WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-Wno-expansion-to-defined) endif () - - # Force SSE2 fp on x86 builds. - if (WTF_CPU_X86 AND NOT CMAKE_CROSSCOMPILING) - WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-msse2 -mfpmath=sse) - include(DetectSSE2) - if (NOT SSE2_SUPPORT_FOUND) - message(FATAL_ERROR "SSE2 support is required to compile WebKit") - endif () - endif () endif () if (COMPILER_IS_GCC_OR_CLANG AND NOT MSVC) -- 2.30.2