Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/webkit2gtk/webkitgtk-2.26.2-no-sse2-cmake.arch32.patch
blob: 9d4c3451fa3bda84a3ff829ebf6dfe734e8449d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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)