--- a/mozilla-reduce-rust-debuginfo.patch Sat Feb 05 15:04:53 2022 +0100
+++ b/mozilla-reduce-rust-debuginfo.patch Wed Mar 02 15:34:50 2022 +0100
@@ -1,28 +1,11 @@
-diff --git a/build/moz.configure/rust.configure b/build/moz.configure/rust.configure
---- a/build/moz.configure/rust.configure
-+++ b/build/moz.configure/rust.configure
-@@ -610,6 +610,7 @@ set_config("CARGO_PROFILE_DEV_OPT_LEVEL"
- "--enable-frame-pointers",
- path_remapping,
- path_remappings,
-+ host
- )
- def rust_compile_flags(
- opt_level,
-@@ -619,6 +620,7 @@ def rust_compile_flags(
- frame_pointers,
- path_remapping,
- path_remappings,
-+ host
- ):
- # Cargo currently supports only two interesting profiles for building:
- # development and release. Those map (roughly) to --enable-debug and
-@@ -642,6 +644,8 @@ def rust_compile_flags(
+--- firefox-96.0.3.orig/build/moz.configure/rust.configure
++++ firefox-96.0.3/build/moz.configure/rust.configure
+@@ -641,7 +643,7 @@ def rust_compile_flags(
+ debug_assertions = False
if debug_symbols:
- debug_info = "2"
-+ if host.bitness == 32 or host.cpu == 'aarch64' or host.cpu == 'ppc64' or host.cpu == 's390x':
-+ debug_info = '1'
+- debug_info = "2"
++ debug_info = '1'
opts = []