Don't check for SSE2 support on i386

===================================================================

Gbp-Pq: Name dont-detect-sse2.patch
This commit is contained in:
Alberto Garcia 2022-05-14 03:18:03 +08:00 committed by openKylinBot
parent c1d14b9e24
commit abc13f5943
1 changed files with 0 additions and 9 deletions

View File

@ -138,15 +138,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)