summaryrefslogtreecommitdiffstats
path: root/http
diff options
context:
space:
mode:
authorIsmael Luceno2019-08-26 23:26:58 +0200
committerIsmael Luceno2019-08-26 23:26:58 +0200
commitf8b1ac55b28705c51e369abcabe06e7a872fd133 (patch)
treef0b4455fb8a31a969d5f732b9dab3d7cd10b415f /http
parentc49b54d5e04e6c636c25540c1bc5b076095f4cce (diff)
firefox: Explicitly disable profiling if not doing PGO
Diffstat (limited to 'http')
-rw-r--r--http/firefox/HISTORY1
-rwxr-xr-xhttp/firefox/PRE_BUILD6
2 files changed, 4 insertions, 3 deletions
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY
index 6619f943e0..881683c991 100644
--- a/http/firefox/HISTORY
+++ b/http/firefox/HISTORY
@@ -2,6 +2,7 @@
* BUILD: Simpilfied cleanup of CFLAGS/CXXFLAGS
* DEPENDS: Added missing libvpx and libpng configure flags
* PRE_BUILD: Improved build times when stripping
+ Explicitly disable profiling if not doing PGO
2019-08-14 Pavel Vinogradov <public@sourcemage.org>
* DETAILS: version 68.0.2, SECURITY_PATCH++, (CVE-2019-11733)
diff --git a/http/firefox/PRE_BUILD b/http/firefox/PRE_BUILD
index e3b80213a8..16dee1f83b 100755
--- a/http/firefox/PRE_BUILD
+++ b/http/firefox/PRE_BUILD
@@ -26,10 +26,10 @@ if [[ $FIREFOX_OFFICIAL == y ]]; then
fi &&
if [[ $FIREFOX_PGO == y ]]; then
- echo "mk_add_options PROFILE_GEN_SCRIPT='\$(PYTHON) \$(OBJDIR)/_profile/pgo/profileserver.py'" >> .mozconfig
+ echo 'mk_add_options PROFILE_GEN_SCRIPT='\''$(PYTHON) $(OBJDIR)/_profile/pgo/profileserver.py'\'
else
- echo "ac_add_options --disable-tests" >> .mozconfig
-fi &&
+ echo "ac_add_options --disable-profiling --disable-tests"
+fi >> .mozconfig &&
if [[ $FIREFOX_WIDEVINE == y ]]; then
echo "ac_add_options --enable-eme=widevine" >> .mozconfig