aboutsummaryrefslogtreecommitdiff
path: root/binary_tarball/scripts/4_Build_Binary_Tarball.sh
diff options
context:
space:
mode:
Diffstat (limited to 'binary_tarball/scripts/4_Build_Binary_Tarball.sh')
-rwxr-xr-xbinary_tarball/scripts/4_Build_Binary_Tarball.sh10
1 files changed, 7 insertions, 3 deletions
diff --git a/binary_tarball/scripts/4_Build_Binary_Tarball.sh b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
index c1dc1f9..dfbb28a 100755
--- a/binary_tarball/scripts/4_Build_Binary_Tarball.sh
+++ b/binary_tarball/scripts/4_Build_Binary_Tarball.sh
@@ -24,6 +24,13 @@ export SHELL=/bin/bash;
# Changes current folder to the source code folder
cd $srcdir;
+# Runs bootstrapper to install dependencies
+printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
+./mach bootstrap --application-choice=browser --no-interactive;
+
+# deleting it earlier breaks because bootstrap seems to create a new one
+rm -f common/source_files/mozconfig
+
# Do 3-tier PGO
echo "Building instrumented browser..."
@@ -40,9 +47,6 @@ ac_add_options --enable-profile-generate=cross
END
fi
-# Runs bootstrapper to install dependencies
-printf "\nRunning bootstrapper to install build dependencies (using ./mach script within source code)\n";
-./mach bootstrap --application-choice=browser --no-interactive;
# Executes the actual build
printf "\nBuilding LibreWolf\n";
bgstack15