commit:     e3a8e2f78e1f829ce0192d57da6aa9a9b44efeec
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  5 15:38:17 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Mon Oct  5 15:40:30 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3a8e2f7

www-client/firefox: disable jemalloc for !elibc_glibc

Closes: https://bugs.gentoo.org/746554
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 www-client/firefox/firefox-78.3.1.ebuild | 4 ++++
 www-client/firefox/firefox-81.0.1.ebuild | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/www-client/firefox/firefox-78.3.1.ebuild 
b/www-client/firefox/firefox-78.3.1.ebuild
index af2a9e59b72..5bb47ac3381 100644
--- a/www-client/firefox/firefox-78.3.1.ebuild
+++ b/www-client/firefox/firefox-78.3.1.ebuild
@@ -739,6 +739,10 @@ src_configure() {
                        ;;
        esac
 
+       if ! use elibc_glibc ; then
+               mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+       fi
+
        # Allow elfhack to work in combination with unstripped binaries
        # when they would normally be larger than 2GiB.
        append-ldflags "-Wl,--compress-debug-sections=zlib"

diff --git a/www-client/firefox/firefox-81.0.1.ebuild 
b/www-client/firefox/firefox-81.0.1.ebuild
index b73b187b80c..51c6d764b99 100644
--- a/www-client/firefox/firefox-81.0.1.ebuild
+++ b/www-client/firefox/firefox-81.0.1.ebuild
@@ -739,6 +739,10 @@ src_configure() {
                        ;;
        esac
 
+       if ! use elibc_glibc ; then
+               mozconfig_add_options_ac '!elibc_glibc' --disable-jemalloc
+       fi
+
        # Allow elfhack to work in combination with unstripped binaries
        # when they would normally be larger than 2GiB.
        append-ldflags "-Wl,--compress-debug-sections=zlib"

Reply via email to