I noticed that building firefox even with -j8 on a system with 32GB of RAM somehow made me OOM, and then I realized that I have -g0 in CFLAGS which enables debug symbols as can be seen here: if is-flag '-g*' ; then if use clang ; then mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols=$(get-flag '-g*') else mozconfig_add_options_ac 'from CFLAGS' --enable-debug-symbols fi ^^^^^^^^^
I wonder if we need a tc-is-debug or whatever to actually detect if debug information is being emitted.