summaryrefslogtreecommitdiff
path: root/user/firefox-esr/disable-arm-flac.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/firefox-esr/disable-arm-flac.patch')
-rw-r--r--user/firefox-esr/disable-arm-flac.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/user/firefox-esr/disable-arm-flac.patch b/user/firefox-esr/disable-arm-flac.patch
new file mode 100644
index 000000000..fa1ba8753
--- /dev/null
+++ b/user/firefox-esr/disable-arm-flac.patch
@@ -0,0 +1,15 @@
+32-bit ARM assembler is mostly for Android32 accel anyway.
+
+It doesn't link properly on musl (TEXTRELs).
+
+--- firefox-91.13.0/toolkit/moz.configure.old 2023-10-09 10:40:18.231733637 +0000
++++ firefox-91.13.0/toolkit/moz.configure 2023-10-10 02:22:34.743712070 +0000
+@@ -1894,7 +1894,7 @@
+ flac_only = True
+ elif target.cpu == "x86_64":
+ flags = ["-D__x86_64__", "-DPIC", "-DELF", "-Pconfig_unix64.asm"]
+- elif target.cpu in ("x86", "arm", "aarch64"):
++ elif target.cpu in ("x86", "aarch64"):
+ flac_only = True
+ else:
+ enable = False