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
commit85262ec045283e098ef7f65dd6f6a5c385e09c1a (patch)
treee285eae628521e9d91f82a3bbf7552a54de96f80 /eclass/mozcoreconf-2.eclass
parentStable on ppc64; bug #216405 (diff)
downloadhistorical-85262ec045283e098ef7f65dd6f6a5c385e09c1a.tar.gz
historical-85262ec045283e098ef7f65dd6f6a5c385e09c1a.tar.bz2
historical-85262ec045283e098ef7f65dd6f6a5c385e09c1a.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