2022-09-13 09:36:59 +02:00
|
|
|
Index: webkitgtk-2.37.90/Source/cmake/WebKitCompilerFlags.cmake
|
|
|
|
===================================================================
|
|
|
|
--- webkitgtk-2.37.90.orig/Source/cmake/WebKitCompilerFlags.cmake
|
|
|
|
+++ webkitgtk-2.37.90/Source/cmake/WebKitCompilerFlags.cmake
|
|
|
|
@@ -154,15 +154,6 @@ if (COMPILER_IS_GCC_OR_CLANG)
|
|
|
|
WEBKIT_PREPEND_GLOBAL_CXX_FLAGS(-Wno-odr)
|
2020-08-17 11:49:07 +02:00
|
|
|
endif ()
|
2022-03-22 18:13:47 +01:00
|
|
|
|
2020-08-17 11:49:07 +02:00
|
|
|
- # 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 ()
|
2022-03-22 18:13:47 +01:00
|
|
|
-
|
|
|
|
# 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)
|