From: Alberto Garcia Date: Mon, 20 Sep 2021 13:11:47 +0000 (+0100) Subject: Don't check for SSE2 support on i386 X-Git-Tag: archive/raspbian/2.34.1-1_deb10u1+rpi1~1^2~5 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f9247f857e3da38b554bfc7b70289f89d367c225;p=webkit2gtk.git Don't check for SSE2 support on i386 Bug-Debian: https://bugs.debian.org/930935 Forwarded: no =================================================================== Gbp-Pq: Name dont-detect-sse2.patch --- diff --git a/Source/cmake/WebKitCompilerFlags.cmake b/Source/cmake/WebKitCompilerFlags.cmake index 475f4b15f7..5897396c55 100644 --- a/Source/cmake/WebKitCompilerFlags.cmake +++ b/Source/cmake/WebKitCompilerFlags.cmake @@ -141,15 +141,6 @@ if (COMPILER_IS_GCC_OR_CLANG) if (CMAKE_COMPILER_IS_GNUCXX) 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)