summaryrefslogtreecommitdiff
path: root/build-rhel7-nasm-dwarf.patch
diff options
context:
space:
mode:
authorCoprDistGit <infra@openeuler.org>2024-08-01 16:10:25 +0000
committerCoprDistGit <infra@openeuler.org>2024-08-01 16:10:25 +0000
commit20f53a2230be53d8484ea334bf7e760b37d5bc1b (patch)
treea3408825c9e3c0e6f300598835ea1f5d761bb5b4 /build-rhel7-nasm-dwarf.patch
parent7e8d9ad8b111581a05b796df00cd8bbd4e134fe5 (diff)
automatic import of firefoxopeneuler24.03_LTS
Diffstat (limited to 'build-rhel7-nasm-dwarf.patch')
-rw-r--r--build-rhel7-nasm-dwarf.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/build-rhel7-nasm-dwarf.patch b/build-rhel7-nasm-dwarf.patch
new file mode 100644
index 0000000..5e2ba4a
--- /dev/null
+++ b/build-rhel7-nasm-dwarf.patch
@@ -0,0 +1,12 @@
+diff -up firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py
+--- firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py.rhel7-nasm 2021-08-31 08:02:10.814740774 +0200
++++ firefox-91.0.1/python/mozbuild/mozbuild/frontend/context.py 2021-08-31 08:04:03.967146994 +0200
+@@ -420,7 +420,7 @@ class AsmFlags(BaseCompileFlags):
+ if self._context.config.substs.get("OS_ARCH") == "WINNT":
+ debug_flags += ["-F", "cv8"]
+ elif self._context.config.substs.get("OS_ARCH") != "Darwin":
+- debug_flags += ["-F", "dwarf"]
++ debug_flags += ["-f", "elf32"]
+ elif (
+ self._context.config.substs.get("OS_ARCH") == "WINNT"
+ and self._context.config.substs.get("CPU_ARCH") == "aarch64"