New commits:
commit 891c1133185904d88b6b4bb624704fdfaac70c8e
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Disable jemalloc, gold and elf-hack for musl
commit 9c423c81e100748eafee6fc67060293c9b6d97f4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Add missing dependency on libnotify
commit f8b1ac55b28705c51e369abcabe06e7a872fd133
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Explicitly disable profiling if not doing PGO
commit c49b54d5e04e6c636c25540c1bc5b076095f4cce
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Improve build times when stripping
commit 3f35aa78c80d60028bd7ae15b8e2b4b1769e13f4
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Add missing libvpx and libpng configure flags
commit 4cf1b59c404d149140d06753492a8e49c014c836
Author: Ismael Luceno <ismael AT sourcemage.org>
Commit: Ismael Luceno <ismael AT sourcemage.org>
firefox: Simpilfy cleanup of CFLAGS/CXXFLAGS
diff --git a/http/firefox/BUILD b/http/firefox/BUILD
index 5a89db5..ce6fc40 100755
--- a/http/firefox/BUILD
+++ b/http/firefox/BUILD
@@ -16,10 +16,8 @@ export RUSTFLAGS="-C debuginfo=0" &&
# No fast optimization for Mozilla, bit us so many times...
# This used to default to -O2, but that produces crashing firefox for
# sobukus with gcc-5.2.0; -Os seems more safe.
-CFLAGS="${CFLAGS//-Os/-O2}" &&
-CXXFLAGS="${CXXFLAGS//-Os/-O2}" &&
-CFLAGS="${CFLAGS//-O3/-O2}" &&
-CXXFLAGS="${CXXFLAGS//-O3/-O2}" &&
+CFLAGS="${CFLAGS//-O[3s]/-O2}" &&
+CXXFLAGS="${CXXFLAGS//-O[3s]/-O2}" &&
# Be explicit: stripped install is the default.
if [[ "$FIREFOX_STRIP" == "y" ]]; then
- echo 'ac_add_options --enable-install-strip' >> .mozconfig
+ echo 'ac_add_options --enable-install-strip'
+ echo 'ac_add_options --enable-strip'
+ echo 'ac_add_options --disable-debug-symbols'
else
- echo 'ac_add_options --disable-install-strip' >> .mozconfig
-fi &&
+ echo 'ac_add_options --disable-install-strip'
+fi >> .mozconfig &&
if [[ "$FIREFOX_SDK" == "n" ]]; then
sed -i 's/^\(INSTALL_SDK = .*\)$/#\1/' browser/installer/Makefile.in
@@ -24,13 +26,25 @@ if [[ $FIREFOX_OFFICIAL == y ]]; then
fi &&