From b43c86464b67a0ce6ff691e2b3c4fad434cf46a4 Mon Sep 17 00:00:00 2001 From: Alberto Garcia Date: Wed, 15 Feb 2023 22:52:14 +0100 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 66b273b43..930bcaa66 100644 --- a/Source/cmake/WebKitCompilerFlags.cmake +++ b/Source/cmake/WebKitCompilerFlags.cmake @@ -154,15 +154,6 @@ if (COMPILER_IS_GCC_OR_CLANG) WEBKIT_PREPEND_GLOBAL_CXX_FLAGS(-Wno-odr) 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 () - # Makes builds faster. The GCC manual warns about the possibility that the assembler being # used may not support input from a pipe, but in practice the toolchains we support all do. WEBKIT_PREPEND_GLOBAL_COMPILER_FLAGS(-pipe) -- 2.30.2