From 56a6722838041f4b98f76845c11761c1aabbb872 Mon Sep 17 00:00:00 2001 From: Michal Vasilek Date: Mon, 3 Apr 2023 21:12:52 +0200 Subject: [PATCH] webkit2gtk: do not enable SSE2 code on i686 --- srcpkgs/webkit2gtk/patches/x86-no-sse2.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/srcpkgs/webkit2gtk/patches/x86-no-sse2.patch b/srcpkgs/webkit2gtk/patches/x86-no-sse2.patch index 9ca02811bfe..3a0e5f158cb 100644 --- a/srcpkgs/webkit2gtk/patches/x86-no-sse2.patch +++ b/srcpkgs/webkit2gtk/patches/x86-no-sse2.patch @@ -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 + # define ANGLE_USE_SSE +-#elif defined(__GNUC__) && (defined(__x86_64__) || defined(__i386__)) ++#elif defined(__GNUC__) && defined(__x86_64__) + # include + # define ANGLE_USE_SSE + #endif