diff --git a/srcpkgs/firefox/template b/srcpkgs/firefox/template index 013422c663b..58cc021a39d 100644 --- a/srcpkgs/firefox/template +++ b/srcpkgs/firefox/template @@ -135,6 +135,8 @@ do_build() { # work around large debug symbols on 32-bit hosts if [ "$XBPS_WORDSIZE" = "32" ]; then + echo "ac_add_options --disable-debug-symbols" >>.mozconfig + echo "ac_add_options --disable-debug" >>.mozconfig export LDFLAGS+=" -Wl,--no-keep-memory" # patch the rust debug level, this is hardcoded vsed -i 's/debug_info = "2"/debug_info = "0"/' \