diff options
author | Ismael Luceno | 2019-08-26 23:30:02 +0200 |
---|---|---|
committer | Ismael Luceno | 2019-08-26 23:30:02 +0200 |
commit | 891c1133185904d88b6b4bb624704fdfaac70c8e (patch) | |
tree | da47c193f320c8119f85f83a0d04424705e6ff29 /http | |
parent | 9c423c81e100748eafee6fc67060293c9b6d97f4 (diff) |
firefox: Disable jemalloc, gold and elf-hack for musl
Diffstat (limited to 'http')
-rw-r--r-- | http/firefox/HISTORY | 1 | ||||
-rwxr-xr-x | http/firefox/PRE_BUILD | 14 |
2 files changed, 14 insertions, 1 deletions
diff --git a/http/firefox/HISTORY b/http/firefox/HISTORY index ea02f408bd..cde23936ce 100644 --- a/http/firefox/HISTORY +++ b/http/firefox/HISTORY @@ -4,6 +4,7 @@ Added missing dependency on libnotify * PRE_BUILD: Improved build times when stripping Explicitly disable profiling if not doing PGO + Disabled jemalloc, gold and elf-hack for musl 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 16dee1f83b..3752626ae8 100755 --- a/http/firefox/PRE_BUILD +++ b/http/firefox/PRE_BUILD @@ -35,4 +35,16 @@ if [[ $FIREFOX_WIDEVINE == y ]]; then echo "ac_add_options --enable-eme=widevine" >> .mozconfig else echo "ac_add_options --disable-eme" >> .mozconfig -fi +fi && + +case "$HOST" in +*-musl) + cat <<-!>>.mozconfig + ac_add_options --disable-elf-hack + # jemalloc depends on PTHREAD_MUTEX_ADAPTIVE_NP + ac_add_options --disable-jemalloc + # gold causes build failures + ac_add_options --disable-gold +! + ;; +esac |