SHA256
1
0
forked from pool/webkit2gtk3
webkit2gtk3/no-forced-sse.patch

19 lines
882 B
Diff

--- orig-webkitgtk-2.35.3/Source/cmake/WebKitCompilerFlags.cmake 2022-02-10 14:13:15.967239967 +0100
+++ webkitgtk-2.35.3/Source/cmake/WebKitCompilerFlags.cmake 2022-02-10 18:20:56.008703314 +0100
@@ -156,15 +156,6 @@
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 ()
-
# 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)