~mozillateam/firefox/firefox-beta.xenial

« back to all changes in this revision

Viewing changes to debian/patches/webaudio-i386-sse2-ftbfs.patch

  • Committer: Rico Tzschichholz
  • Date: 2023-03-10 09:16:41 UTC
  • Revision ID: ricotz@ubuntu.com-20230310091641-cqvcm022p6kxbypt
Update and rename to webaudio-i386-sse2-ftbfs.patch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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>
 
4
Forwarded: not-needed
 
5
 
 
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
 
9
@@ -134,7 +134,7 @@
 
10
         LOCAL_INCLUDES += ["/media/openmax_dl/dl/api/"]
 
11
 
 
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"]