summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaúl Porcel <armin76@gentoo.org>2008-06-21 19:32:18 +0000
committerRaúl Porcel <armin76@gentoo.org>2008-06-21 19:32:18 +0000
commitaba6f1446327f8f027707ad99ea895e48dfa97f9 (patch)
tree8a219d837f386ec786dff68d0fc845898d4061a3 /eclass/mozcoreconf-2.eclass
parentStable on ppc64; bug #216405 (diff)
downloadgentoo-2-aba6f1446327f8f027707ad99ea895e48dfa97f9.tar.gz
gentoo-2-aba6f1446327f8f027707ad99ea895e48dfa97f9.tar.bz2
gentoo-2-aba6f1446327f8f027707ad99ea895e48dfa97f9.zip
Disable jemalloc on older glibc, as it fails to build
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r--eclass/mozcoreconf-2.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass
index 6fce57bb6379..d62ca37c4f07 100644
--- a/eclass/mozcoreconf-2.eclass
+++ b/eclass/mozcoreconf-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.2 2008/05/11 10:29:59 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.3 2008/06/21 19:32:18 armin76 Exp $
#
# mozcoreconf.eclass : core options for mozilla
# inherit mozconfig-2 if you need USE flags
@@ -189,6 +189,9 @@ mozconfig_init() {
if is-flag '-mcpu=ultrasparc*' || is-flag '-mtune=ultrasparc*'; then
mozconfig_annotate "building on ultrasparc" --enable-js-ultrasparc
fi
+
+ # jemalloc won't build with older glibc
+ ! has_version ">=sys-libs/glibc-2.4" && mozconfig_annotate "we have old glibc" --disable-jemalloc
}
# Simulate the silly csh makemake script