summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Stakenvicius <axs@gentoo.org>2014-12-04 01:17:15 +0000
committerIan Stakenvicius <axs@gentoo.org>2014-12-04 01:17:15 +0000
commit37d0d3a55e22450410b6aea1dc3c1e2c6821ab7b (patch)
tree166ed24590957ae5e1ea2dd8966bd4322aa8d5de /eclass/mozconfig-v5.34.eclass
parentfixed typo in mozconfig-v5.34 eclass comments (diff)
downloadhistorical-37d0d3a55e22450410b6aea1dc3c1e2c6821ab7b.tar.gz
historical-37d0d3a55e22450410b6aea1dc3c1e2c6821ab7b.tar.bz2
historical-37d0d3a55e22450410b6aea1dc3c1e2c6821ab7b.zip
mozconfig-v5.34.eclass - make glibc check based on elibc_glibc so that it works on prefix
Diffstat (limited to 'eclass/mozconfig-v5.34.eclass')
-rw-r--r--eclass/mozconfig-v5.34.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/mozconfig-v5.34.eclass b/eclass/mozconfig-v5.34.eclass
index b3c2d812d85f..0963d4e9a8f3 100644
--- a/eclass/mozconfig-v5.34.eclass
+++ b/eclass/mozconfig-v5.34.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.34.eclass,v 1.2 2014/12/04 00:51:30 axs Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-v5.34.eclass,v 1.3 2014/12/04 01:17:15 axs Exp $
#
# @ECLASS: mozconfig-v5.33.eclass
# @MAINTAINER:
@@ -205,7 +205,8 @@ mozconfig_config() {
mozconfig_annotate '' --disable-gconf
# Use jemalloc unless libc is not glibc >= 2.4
- if has_version ">=sys-libs/glibc-2.4"; then
+ # at this time the minimum glibc in the tree is 2.9 so we should be safe.
+ if use elibc_glibc; then
# We must force-enable jemalloc 3 via .mozconfig
echo "export MOZ_JEMALLOC3=1" >> "${S}"/.mozconfig || die
mozconfig_annotate '' --enable-jemalloc