aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/webrtc-audio-processing-x86-no-sse.patch
blob: c194dd9244e57fb75d61aaef1740beb6403ca500 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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