Skip to content

Commit

Permalink
Reduce rust debuginfo on all archs to be able to build at all without…
Browse files Browse the repository at this point in the history
… OOM-kills
  • Loading branch information
Martin Sirringhaus committed Aug 3, 2020
1 parent 3d9cf40 commit 2672738
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mozilla-reduce-rust-debuginfo.patch
Expand Up @@ -42,8 +42,8 @@ diff --git a/build/moz.configure/toolchain.configure b/build/moz.configure/toolc

if debug_symbols:
debug_info = '2'
+ if host.bitness == 32 or host.cpu == 'aarch64' or host.cpu == 'ppc64':
+ debug_info = '1'
+# if host.bitness == 32 or host.cpu == 'aarch64' or host.cpu == 'ppc64': # Just reduce debug_info for all archs
+ debug_info = '1'

opts = []

Expand Down

0 comments on commit 2672738

Please sign in to comment.