equal
deleted
inserted
replaced
1 diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure |
1 --- firefox-96.0.3.orig/build/moz.configure/rust.configure |
2 --- a/build/moz.configure/rust.configure |
2 +++ firefox-96.0.3/build/moz.configure/rust.configure |
3 +++ b/build/moz.configure/rust.configure |
3 @@ -641,7 +643,7 @@ def rust_compile_flags( |
4 @@ -610,6 +610,7 @@ set_config("CARGO_PROFILE_DEV_OPT_LEVEL" |
4 debug_assertions = False |
5 "--enable-frame-pointers", |
|
6 path_remapping, |
|
7 path_remappings, |
|
8 + host |
|
9 ) |
|
10 def rust_compile_flags( |
|
11 opt_level, |
|
12 @@ -619,6 +620,7 @@ def rust_compile_flags( |
|
13 frame_pointers, |
|
14 path_remapping, |
|
15 path_remappings, |
|
16 + host |
|
17 ): |
|
18 # Cargo currently supports only two interesting profiles for building: |
|
19 # development and release. Those map (roughly) to --enable-debug and |
|
20 @@ -642,6 +644,8 @@ def rust_compile_flags( |
|
21 |
5 |
22 if debug_symbols: |
6 if debug_symbols: |
23 debug_info = "2" |
7 - debug_info = "2" |
24 + if host.bitness == 32 or host.cpu == 'aarch64' or host.cpu == 'ppc64' or host.cpu == 's390x': |
8 + debug_info = '1' |
25 + debug_info = '1' |
|
26 |
9 |
27 opts = [] |
10 opts = [] |
28 |
11 |