diff options
author | Raúl Porcel <armin76@gentoo.org> | 2008-06-21 19:32:18 +0000 |
---|---|---|
committer | Raúl Porcel <armin76@gentoo.org> | 2008-06-21 19:32:18 +0000 |
commit | 85262ec045283e098ef7f65dd6f6a5c385e09c1a (patch) | |
tree | e285eae628521e9d91f82a3bbf7552a54de96f80 /eclass/mozcoreconf-2.eclass | |
parent | Stable on ppc64; bug #216405 (diff) | |
download | historical-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.eclass | 5 |
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 |