commit:     47c1fed5929fd9633e535c9da15d34c1f09d065a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Mon Oct  5 15:40:09 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=47c1fed5

mail-client/thunderbird: disable jemalloc for !elibc_glibc

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

 mail-client/thunderbird/thunderbird-78.3.1.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/mail-client/thunderbird/thunderbird-78.3.1.ebuild 
b/mail-client/thunderbird/thunderbird-78.3.1.ebuild
index 7309e36a2a4..b8242df5acf 100644
--- a/mail-client/thunderbird/thunderbird-78.3.1.ebuild
+++ b/mail-client/thunderbird/thunderbird-78.3.1.ebuild
@@ -725,6 +725,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