summaryrefslogtreecommitdiff
path: root/gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch')
-rw-r--r--gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch b/gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch
new file mode 100644
index 00000000000..c194dd9244e
--- /dev/null
+++ b/gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch
@@ -0,0 +1,13 @@
+https://bugs.gentoo.org/921140
+https://gitlab.freedesktop.org/pulseaudio/webrtc-audio-processing/-/issues/5
+--- a/webrtc/rtc_base/system/arch.h
++++ b/webrtc/rtc_base/system/arch.h
+@@ -34,7 +34,7 @@
+ #else
+ #define WEBRTC_ARCH_32_BITS
+ #endif
+-#elif defined(_M_IX86) || defined(__i386__)
++#elif defined(__SSE__) && (defined(_M_IX86) || defined(__i386__))
+ #define WEBRTC_ARCH_X86_FAMILY
+ #define WEBRTC_ARCH_X86
+ #define WEBRTC_ARCH_32_BITS