diff options
Diffstat (limited to 'extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch')
-rw-r--r-- | extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch b/extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch new file mode 100644 index 00000000..9d4c3451 --- /dev/null +++ b/extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch @@ -0,0 +1,23 @@ +--- webkitgtk-2.26.2/Source/cmake/WebKitCompilerFlags.cmake 2019-08-28 14:46:33.000000000 +0300 ++++ webkitgtk-2.26.2_nosse2/Source/cmake/WebKitCompilerFlags.cmake 2019-12-28 21:04:55.532144052 +0200 +@@ -139,13 +139,13 @@ + 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 () ++# 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) |