summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Deutschmann <whissi@gentoo.org>2020-10-05 17:40:09 +0200
committerThomas Deutschmann <whissi@gentoo.org>2020-10-05 17:40:30 +0200
commit47c1fed5929fd9633e535c9da15d34c1f09d065a (patch)
treed21c8130362db8cbbf9f12b27ed23ee7c5742c93 /mail-client/thunderbird
parentwww-client/firefox: disable jemalloc for !elibc_glibc (diff)
downloadgentoo-47c1fed5929fd9633e535c9da15d34c1f09d065a.tar.gz
gentoo-47c1fed5929fd9633e535c9da15d34c1f09d065a.tar.bz2
gentoo-47c1fed5929fd9633e535c9da15d34c1f09d065a.zip
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@gentoo.org>
Diffstat (limited to 'mail-client/thunderbird')
-rw-r--r--mail-client/thunderbird/thunderbird-78.3.1.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/mail-client/thunderbird/thunderbird-78.3.1.ebuild b/mail-client/thunderbird/thunderbird-78.3.1.ebuild
index 7309e36a2a45..b8242df5acf0 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"