webkit2gtk: do not enable SSE2 code on i686

This commit is contained in:
Michal Vasilek 2023-04-03 21:12:52 +02:00
parent 8dbd04ba68
commit 56a6722838

View file

@ -16,3 +16,14 @@
# 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)
--- a/Source/ThirdParty/ANGLE/src/common/platform.h
+++ b/Source/ThirdParty/ANGLE/src/common/platform.h
@@ -102,7 +102,7 @@
#if defined(_MSC_VER) && !defined(_M_ARM) && !defined(_M_ARM64)
# include <intrin.h>
# define ANGLE_USE_SSE
-#elif defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__))
+#elif defined(__GNUC__) && defined(__x86_64__)
# include <x86intrin.h>
# define ANGLE_USE_SSE
#endif