From 85262ec045283e098ef7f65dd6f6a5c385e09c1a Mon Sep 17 00:00:00 2001 From: Raúl Porcel Date: Sat, 21 Jun 2008 19:32:18 +0000 Subject: Disable jemalloc on older glibc, as it fails to build --- eclass/mozcoreconf-2.eclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'eclass/mozcoreconf-2.eclass') 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 -- cgit v1.2.3-65-gdbad