diff options
| author | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
|---|---|---|
| committer | emmett1 <emmett1.2iligrams@protonmail.com> | 2025-03-12 04:01:18 +0100 |
| commit | ddd8e1a8fab2ac39396282a7c09ddf6eca219613 (patch) | |
| tree | 12796519575126d60e06d02e9eab68856229cf58 /repos/clang/firefox/riscv64-reduce-debug.patch | |
| parent | b5a8a6c29e40f786ceb808c0b95f01c4251111d1 (diff) | |
| download | alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.tar.gz alicelinux-ddd8e1a8fab2ac39396282a7c09ddf6eca219613.zip | |
clang repos updated
Diffstat (limited to 'repos/clang/firefox/riscv64-reduce-debug.patch')
| -rw-r--r-- | repos/clang/firefox/riscv64-reduce-debug.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/repos/clang/firefox/riscv64-reduce-debug.patch b/repos/clang/firefox/riscv64-reduce-debug.patch new file mode 100644 index 00000000..e1f780d7 --- /dev/null +++ b/repos/clang/firefox/riscv64-reduce-debug.patch @@ -0,0 +1,23 @@ +commit 29ff842dfe33d172d115a90ab69cc240426dad04 +Author: q66 <q66@chimera-linux.org> +Date: Tue Oct 4 10:45:28 2022 +0200 + + reduce debug_info on riscv + +diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure +index e64dc5d..e3e1fbd 100644 +--- a/build/moz.configure/rust.configure ++++ b/build/moz.configure/rust.configure +@@ -653,7 +653,11 @@ def rust_compile_flags( + debug_assertions = False + + if debug_symbols: +- debug_info = "2" ++ # linking fails with full debug info on riscv ++ if target.cpu == "riscv64": ++ debug_info = "1" ++ else: ++ debug_info = "2" + + opts = [] + |