From: Alberto Garcia Date: Thu, 16 Apr 2020 16:37:24 +0000 (+0100) Subject: Don't check for SSE2 support on i386 X-Git-Tag: archive/raspbian/2.26.4-1_deb10u3+rpi1^2~6 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=a357a5ec9020c50458cd778774db709d01bb2143;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 c5fa4c3ea5..06aa2e841c 100644 --- a/Source/cmake/WebKitCompilerFlags.cmake +++ b/Source/cmake/WebKitCompilerFlags.cmake @@ -137,15 +137,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)