Gentoo Archives: gentoo-commits

From: Jory Pratt <anarchy@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/mozilla:master commit in: eclass/
Date: Mon, 05 Sep 2016 00:57:13
Message-Id: 1473016228.d1f86411c687aca1cb14354b151f00fecaefa83e.anarchy@gentoo
1 commit: d1f86411c687aca1cb14354b151f00fecaefa83e
2 Author: Jory A. Pratt <anarchy <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 4 19:10:28 2016 +0000
4 Commit: Jory Pratt <anarchy <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 4 19:10:28 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/mozilla.git/commit/?id=d1f86411
7
8 mozconfig-v6.48 - force enable jemalloc 4, rename jemalloc3 useflag to
9 plain jemalloc
10
11 eclass/mozconfig-v6.48.eclass | 9 ++++-----
12 1 file changed, 4 insertions(+), 5 deletions(-)
13
14 diff --git a/eclass/mozconfig-v6.48.eclass b/eclass/mozconfig-v6.48.eclass
15 index e2d8934..9eea075 100644
16 --- a/eclass/mozconfig-v6.48.eclass
17 +++ b/eclass/mozconfig-v6.48.eclass
18 @@ -83,7 +83,7 @@ inherit flag-o-matic toolchain-funcs mozcoreconf-v4
19 # Set the variable to any value if the use flag should exist but not be default-enabled.
20
21 # use-flags common among all mozilla ebuilds
22 -IUSE="${IUSE} dbus debug +jemalloc3 neon pulseaudio selinux +skia startup-notification system-cairo
23 +IUSE="${IUSE} dbus debug +jemalloc neon pulseaudio selinux +skia startup-notification system-cairo
24 system-harfbuzz system-icu system-jpeg system-libevent system-sqlite system-libvpx"
25
26 # some notes on deps:
27 @@ -319,10 +319,9 @@ mozconfig_config() {
28
29 # Use jemalloc unless libc is not glibc >= 2.4
30 # at this time the minimum glibc in the tree is 2.9 so we should be safe.
31 - if use elibc_glibc && use jemalloc3; then
32 - # We must force-enable jemalloc 3 via .mozconfig
33 - echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
34 - mozconfig_annotate '' --enable-jemalloc
35 + if use elibc_glibc && use jemalloc; then
36 + # We must force-enable jemalloc 4 via .mozconfig
37 + echo "export MOZ_JEMALLOC4=1" >> "${S}"/.mozconfig || die
38 mozconfig_annotate '' --enable-replace-malloc
39 fi