~mozillateam/firefox/firefox-beta.xenial

« back to all changes in this revision

Viewing changes to debian/patches/webaudio-fix-compiler-flags.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
 
--- a/build/moz.configure/arm.configure
2
 
+++ b/build/moz.configure/arm.configure
3
 
@@ -284,8 +284,6 @@
4
 
     # that compiling uses the "softfloat" ABI, force the use of the
5
 
     # "softfp" ABI instead.
6
 
     flags = ["-mfpu=neon"]
7
 
-    if arm_target.float_abi == "soft":
8
 
-        flags.append("-mfloat-abi=softfp")
9
 
     if arm_target.arm_arch < 7:
10
 
         # clang needs to be forced to at least armv7 for -mfpu=neon to do
11
 
         # something.
12
 
--- a/dom/media/webaudio/moz.build
13
 
+++ b/dom/media/webaudio/moz.build
14
 
@@ -134,7 +134,7 @@
15
 
         LOCAL_INCLUDES += ["/media/openmax_dl/dl/api/"]
16
 
 
17
 
 # Are we targeting x86 or x64?  If so, build SSEX files.
18
 
-if CONFIG["INTEL_ARCHITECTURE"]:
19
 
+if CONFIG["CPU_ARCH"] == "x86_64":
20
 
     DEFINES["USE_SSE2"] = True
21
 
     SOURCES += ["AudioNodeEngineSSE2.cpp"]
22
 
     LOCAL_INCLUDES += ["/third_party/xsimd/include"]