summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/mozconfig-3.eclass5
2 files changed, 8 insertions, 2 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index b75cd257e012..e17e10285205 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.778 2013/04/09 23:43:53 zorry Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.779 2013/04/10 02:33:48 anarchy Exp $
+
+ 10 Apr 2013; Jory A. Pratt <anarchy@gentoo.org> mozconfig-3.eclass:
+ Disable debug symbols unless debug is enabled.
10 Apr 2013; Magnus Granberg <zorry@gentoo.org> pax-utils.eclass:
Make PT default pax marking and change ewarn to elog
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