Skip to content

Commit

Permalink
Disable bootstrap for production builds.
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlex94 committed Feb 3, 2025
1 parent 88949b8 commit 2fa6783
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .mozconfig-aarch64-apple-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=apple-m1"
fi

ac_add_options --disable-bootstrap
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-dmd
Expand All @@ -20,7 +21,6 @@ ac_add_options --disable-profiling
ac_add_options --disable-tests

ac_add_options --enable-application=browser
ac_add_options --enable-bootstrap=-sccache
if test -x "$(command -v sccache)"; then
ac_add_options --with-ccache=sccache
elif test -f "$HOME/.mozbuild/sccache/sccache"; then
Expand Down
2 changes: 1 addition & 1 deletion .mozconfig-x86_64-apple-darwin
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=nehalem"
fi

ac_add_options --disable-bootstrap
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-dmd
Expand All @@ -20,7 +21,6 @@ ac_add_options --disable-profiling
ac_add_options --disable-tests

ac_add_options --enable-application=browser
ac_add_options --enable-bootstrap=-sccache
if test -x "$(command -v sccache)"; then
ac_add_options --with-ccache=sccache
elif test -f "$HOME/.mozbuild/sccache/sccache"; then
Expand Down
1 change: 1 addition & 0 deletions .mozconfig-x86_64-pc-linux-gnu
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi

ac_add_options --disable-bootstrap
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
ac_add_options --disable-dmd
Expand Down
1 change: 1 addition & 0 deletions .mozconfig-x86_64-pc-windows-msvc
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ if test "$WFX_RELEASE" || test "$WFX_PRE_RELEASE"; then
export RUSTFLAGS="$RUSTFLAGS -Ctarget-cpu=x86-64"
fi

ac_add_options --disable-bootstrap
ac_add_options --disable-bits-download
ac_add_options --disable-crashreporter
ac_add_options --disable-debug
Expand Down

0 comments on commit 2fa6783

Please sign in to comment.