Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/firefox/simd_avx2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/firefox/simd_avx2.patch')
-rw-r--r--extra/firefox/simd_avx2.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/firefox/simd_avx2.patch b/extra/firefox/simd_avx2.patch
new file mode 100644
index 00000000..ee94a034
--- /dev/null
+++ b/extra/firefox/simd_avx2.patch
@@ -0,0 +1,11 @@
+diff -rauN a/mozglue/misc/SIMD_avx2.cpp b/mozglue/misc/SIMD_avx2.cpp
+--- a/mozglue/misc/SIMD_avx2.cpp 2022-10-24 18:34:51.028779452 +0200
++++ b/mozglue/misc/SIMD_avx2.cpp 2022-10-24 18:35:07.818868490 +0200
+@@ -8,6 +8,7 @@
+ #include "mozilla/SSE.h"
+ #include "mozilla/Assertions.h"
+
++#undef MOZILLA_MAY_SUPPORT_AVX2
+ #ifdef MOZILLA_MAY_SUPPORT_AVX2
+
+ # include <cstring>