1
Description: Disable SSE/SSE2 code paths in webaudio when building on i386,
2
because it's not available at build time. This is Debian/Ubuntu specific.
3
Author: Rico Tzschichholz <ricotz@ubuntu.com>
6
diff -r c0aa24001283 dom/media/webaudio/moz.build
7
--- a/dom/media/webaudio/moz.build Thu Mar 09 01:22:56 2023 -0500
8
+++ b/dom/media/webaudio/moz.build Thu Mar 09 11:28:02 2023 +0100
10
LOCAL_INCLUDES += ["/media/openmax_dl/dl/api/"]
12
# Are we targeting x86 or x64? If so, build SSEX files.
13
-if CONFIG["INTEL_ARCHITECTURE"]:
14
+if CONFIG["CPU_ARCH"] == "x86_64":
15
DEFINES["USE_SSE2"] = True
16
SOURCES += ["AudioNodeEngineSSE2.cpp"]
17
LOCAL_INCLUDES += ["/third_party/xsimd/include"]