MozillaFirefox/mozilla-reduce-rust-debuginfo.patch
Wolfgang Rosenauer 0e6ea7846c Accepting request 952269 from home:dirkmueller:Factory
- remove memoryperjob and use %limit instead. this allows to
  adapt to more worker types, and lowers the time the package
  is stuck in "scheduling". raising memory above 8 to lower
  risk for LTO jobs to run OOM
- add hack to disable -Wl,--gc-section which avoids a binutils
  segfault on x86
- change mozilla-reduce-rust-debuginfo.patch: use -g1 everywhere

OBS-URL: https://build.opensuse.org/request/show/952269
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=957
2022-02-08 08:38:01 +00:00

12 lines
287 B
Diff

--- 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"
+ debug_info = '1'
opts = []