summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2011-07-04 19:26:42 +0000
committerJory Pratt <anarchy@gentoo.org>2011-07-04 19:26:42 +0000
commitfdafa4adfaa2943fe36138fe3310ee35d594c1f3 (patch)
treeb4d580e2d7acd694558017a4c0f28ef199dbb164 /eclass/mozcoreconf-2.eclass
parentFix version number in gem specification. (diff)
downloadgentoo-2-fdafa4adfaa2943fe36138fe3310ee35d594c1f3.tar.gz
gentoo-2-fdafa4adfaa2943fe36138fe3310ee35d594c1f3.tar.bz2
gentoo-2-fdafa4adfaa2943fe36138fe3310ee35d594c1f3.zip
Add custom-cflags per Calchan for mozilla products
Diffstat (limited to 'eclass/mozcoreconf-2.eclass')
-rw-r--r--eclass/mozcoreconf-2.eclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/eclass/mozcoreconf-2.eclass b/eclass/mozcoreconf-2.eclass
index 43dd068a097c..a991951154ce 100644
--- a/eclass/mozcoreconf-2.eclass
+++ b/eclass/mozcoreconf-2.eclass
@@ -1,13 +1,13 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.19 2011/04/02 17:36:17 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozcoreconf-2.eclass,v 1.20 2011/07/04 19:26:42 anarchy Exp $
#
# mozcoreconf.eclass : core options for mozilla
# inherit mozconfig-2 if you need USE flags
inherit multilib flag-o-matic python
-IUSE="${IUSE} custom-optimization"
+IUSE="${IUSE} custom-cflags custom-optimization"
RDEPEND="x11-libs/libXrender
x11-libs/libXt
@@ -151,7 +151,7 @@ mozconfig_init() {
filter-flags '-O*'
# Strip over-aggressive CFLAGS
- strip-flags
+ use custom-cflags || strip-flags
# Additional ARCH support
case "${ARCH}" in