~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-01 07:21:17 UTC
  • Revision ID: ricotz@ubuntu.com-20230301072117-udl30j5kfe4frkwp
* New upstream release from the beta channel (FIREFOX_111_0b7_BUILD1)
* Fix i386/armhf build failure
  - debian/patches/webaudio-fix-compiler-flags.patch
* Update for upstream manifest changes
  https://bugzilla.mozilla.org/show_bug.cgi?id=1810734
  - debian/build/xpi-id.py
* Update patches
  - debian/patches/unity-menubar.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"]