summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJory Pratt <anarchy@gentoo.org>2013-04-10 02:33:48 +0000
committerJory Pratt <anarchy@gentoo.org>2013-04-10 02:33:48 +0000
commit48f65dd84a4e1b37630e11aa35e2a08dbcbb157e (patch)
tree6c4097c92f5638b4b1ea61e0bbefd81b2120ef34 /eclass/mozconfig-3.eclass
parentversion bump, eapi bump and sync live ebuild. (diff)
downloadgentoo-2-48f65dd84a4e1b37630e11aa35e2a08dbcbb157e.tar.gz
gentoo-2-48f65dd84a4e1b37630e11aa35e2a08dbcbb157e.tar.bz2
gentoo-2-48f65dd84a4e1b37630e11aa35e2a08dbcbb157e.zip
Disable debug symbols unless debug useflag is enabled
Diffstat (limited to 'eclass/mozconfig-3.eclass')
-rw-r--r--eclass/mozconfig-3.eclass5
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/mozconfig-3.eclass b/eclass/mozconfig-3.eclass
index c8b2ef608666..c5022afff14b 100644
--- a/eclass/mozconfig-3.eclass
+++ b/eclass/mozconfig-3.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.35 2013/03/24 19:08:58 anarchy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mozconfig-3.eclass,v 1.36 2013/04/10 02:33:48 anarchy Exp $
#
# mozconfig.eclass: the new mozilla.eclass
@@ -64,6 +64,9 @@ mozconfig_config() {
mozconfig_use_enable dbus
mozconfig_use_enable debug
mozconfig_use_enable debug tests
+ if ! use debug ; then
+ mozconfig_annotate 'disabled by Gentoo' --disable-debug-symbols
+ fi
mozconfig_use_enable startup-notification
mozconfig_use_enable system-sqlite
mozconfig_use_enable wifi necko-wifi